Feature Pages (not posts) in the Slider?
first of all: great theme, but I guess you’ve heard that before.
Secondly: my feature request: As far as I see, I can only feature posts (either by category or by date) in the slider. However I’d like to feture pages instead. Is there any chance to:
a) Add Categories to pages
b) Use “custom field” (hope it’s translated correctly, I’m using the German version) property to select content for the slider.
c) Some magic you do.
ErikAdminJanuary 8, 2011 at 3:27 pm #12000
There’s a plugin that allows you to assign categories to pages, such as this Map Categories to Pages plugin.
As for the custom field, what are the options of the content to be selected for the slider?AdminJanuary 12, 2011 at 1:37 am #12002
Try adding this code in your child theme’s
$post_type = array('post', 'page');
add_filter('graphene_slider_post_type', 'graphene_custom_slider_post_type');AdminJanuary 12, 2011 at 11:46 pm #12004
If you’re using a child theme, just put that anywhere in the child theme’s functions.php file. If you’re not using child theme, put it anywhere in the theme’s functions.php file. The positioning doesn’t matter.
I got it to work also, thank you!
However, for some reason, the image won’t display floating left to the text like it would before. See here (http://www.cleansingfyi.com/uhtsite).
Any ideas for this? I appreciate your help!
~RCWAdminJanuary 18, 2011 at 12:40 am #12007
Your CSS is missing this rule declaration:
margin: 4px 1em 12px 0;
Just add it back to either your child theme or the theme’s style.css file.
Viewing 10 posts - 1 through 10 (of 16 total)
- You must be logged in to reply to this topic.