Community Forums › Forums › Archived Forums › Design Tips and Tricks › Genesis Tabs Widget as featured post slider for one category?
Tagged: genesis tabs widget
- This topic has 10 replies, 4 voices, and was last updated 12 years, 11 months ago by
stl99.
-
AuthorPosts
-
April 22, 2013 at 5:48 am #36849
stl99
MemberHi there,
I'm wondering if someone already tried this:
I'd like to use the Genesis Tabs Widget for displaying the latest 5 posts from my blog with the tab titles displaying the specific post's category name/or a custom field value of that individual post.
Right now you can only select one category for each tab...
Cheers,
ThomasApril 22, 2013 at 10:21 am #36900AnitaC
KeymasterThe Genesis Tabs Widget was not made to perform that way. You will need to look for something else that will work the way you want it. Check the WordPress plugin repository.
Need help with customization or troubleshooting? Reach out to me.
April 22, 2013 at 10:55 am #36908stl99
MemberHi,
I already did that but there're actually very few plugins which can do that and these plugins don't work very reliable.
I'll try to modify the Genesis Tabs Widget myself then..
Cheers,
ThomasJune 21, 2013 at 8:53 pm #47144Dan B
ParticipantHi,
Any luck getting the Genesis Tabs widget plugin to show custom field info?
If not, how'd you solve this issue?
I'm trying to pull custom field info and display it in a sidebar, so it'd be a great help to know how to do this.
Thanks!
Dan @ ZindaMedia
Marketing, Fundraising and Social Media strategies for non-profits.June 23, 2013 at 3:44 am #47273stl99
MemberHi,
I let my developer create a modified version of the plugin in order to achieve that. There're some other modifications but this part of the code should basically provide what you're looking for:
</ul><!-- end ul.slides --> <ul class="category-nav"> <?php $index = 0; while ( $slider_posts->have_posts() ) : $slider_posts->the_post(); ?> <li class="tab<?php echo $index; ?>"> <a>> <?php $custom_tab_title = get_post_meta( get_the_ID(), 'featured_slider_tab_title', true ); if ( $custom_tab_title ) { echo $custom_tab_title; } else { $categories = get_the_category(); echo $categories[0]->name; } ?> </a> </li> <?php $index++; endwhile; ?> </ul> </div><!-- end .flexslider --> </div><!-- end #genesis-responsive-slider -->Cheers,
ThomasOctober 2, 2013 at 2:01 pm #65109lflier
MemberYes!
In your original post, you're asking to do exactly what I want to do. I want the Genesis Tabs widget to display five posts from the category in each tab. Right now it displays only one. I'm guessing that another nested loop is needed in the code that outputs the posts but I'm a total noob at PHP and Genesis programming. Do you happen to have code for this as well?
October 3, 2013 at 9:54 am #65208stl99
MemberHi there,
I think it would be easier to send you the complete modified plugin. I do however need to ask my dev first if he's OK with this as he programmed it after all.
Maybe it's even better to give you his contact details - are you interested in this?
Cheers,
ThomasOctober 3, 2013 at 2:56 pm #65253lflier
MemberThat would be fine. Thank you.
LF
October 7, 2013 at 1:58 pm #65700stl99
MemberThis reply has been marked as private.October 10, 2013 at 7:13 am #66116lflier
MemberThanks for the reply but I am unable to read it. The FAQs seem to say that private replies are visible only to the poster and the moderators. Is there a way for users to communicate privately through the forum?
October 10, 2013 at 8:19 am #66131stl99
MemberSend me your email address to [email protected], I'll reply with my dev's email address...
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.