-
AuthorPosts
-
March 25th, 2014 at 20:28 #24636Ismael Serrano
Hi,
First of all congratulations for this awesome theme.
It would be awesome if we can select a certain post category to show on the presentation page instead of directly the latest ones.
~Ismael
May 14th, 2014 at 06:28 #25215ShaunIsmael: Are you talking about choosing a post category in Tempera Settings->Presentation Page where it says “SHOW POSTS ON PRESENTATION PAGE”?
I agree that Tempera is an awesome theme, love it! This feature would make it just that little bit much better.
I wanted to display the most recent posts from only one category (using the format this function provides) but can’t seem to using this feature.
Seems like my only other option is to use the Slides or Cryout columns to display Latest Posts from a Category but I’d rather keep my slides and cryout columns as they are really attractive parts of the template.
+1 for this feature! And if anyone knows a way to hack this into the CSS (using a child theme) it would be great if they could share.
August 18th, 2014 at 09:21 #26805Ismael SerranoYes, just that Shaun. I would like to be able to show only certain posts on the presentation page by category.
For example: I have 2 types of posts, “Games” and “Random” and I only want to show the category “Games” on the presentation. This will give the users the ability of control also that feature of this theme.
~Ismael
September 2nd, 2014 at 21:28 #27049AntjeI had the same problem and found this solution:
http://wordpress.org/support/topic/posts-from-specific-category-on-presentation-pageIt’s for Mantra, but I had no trouble at all making it work with Nirvana.
April 27th, 2015 at 08:56 #31165Christoph WernerThere is no problem to show the content of an individual category on the presentation page.
What I miss is to show content that came from more than one category.
Imagine you have three categories, but you want show only contents of two of them and not of all or one only.This is currently impossible.
September 25th, 2015 at 16:30 #33495Luiz Gonzaga JrHi , the solution for it :
Open the file contet-frontpage.php , check the line
/* Start the Loop */
$paged = ( get_query_var(‘paged’) ) ? get_query_var(‘paged’) : 1;
$the_query = new WP_Query( array(‘posts_per_page’=>$temperas[‘tempera_frontpostscount’],’paged’=> $paged) );
while ( $the_query->have_posts() ) : $the_query->the_post();Just add this ( ‘cat’=> 1 ) .
AFTER CHANGE ..
/* Start the Loop */
$paged = ( get_query_var(‘paged’) ) ? get_query_var(‘paged’) : 1;
$the_query = new WP_Query( array(‘posts_per_page’=>$temperas[‘tempera_frontpostscount’],’cat’=> 1, ‘paged’=> $paged) );
while ( $the_query->have_posts() ) : $the_query->the_post();And choose the ID for category you want.
-
AuthorPosts
The topic ‘Category selected on presentation page’ is closed to new replies.