NacPress
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Customizr] New Idea is not editable when used in CustomizrBy the way, you have to put this code in the functions.php
Create a child theme to make the changes
http://doc.presscustomizr.com/customizr/creating-child-theme-customizr/Forum: Themes and Templates
In reply to: [Customizr] New Idea is not editable when used in CustomizrOk a little bug in the code
I realize that no mater if you set in the Customizr settings to see FULL content or not because I don’t use the variable recovered $bool.
But the idea is ok 😉
Forum: Themes and Templates
In reply to: [Customizr] New Idea is not editable when used in CustomizrOk
I get a workaround.Create a filer
I change the code from the page to work with our problemhttp://presscustomizr.com/snippet/display-full-posts-content-in-specific-contexts/
/********************************************* * Show wp-ideas-stream (add idea) post in full length * * In the customizr options set view page in FULL content * and change the behaviour here only for "Noticias" * * http://presscustomizr.com/snippet/display-full-posts-content-in-specific-contexts/ **********************************************/ <?php add_filter('tc_show_excerpt' , 'show_post_in_full_length'); function show_post_in_full_length($bool) { $page = 'noticias'; $realPage = get_query_var('pagename'); if ( $realPage == $page ) { return true; } else { return false; // Full content } }Forum: Themes and Templates
In reply to: [Customizr] New Idea is not editable when used in CustomizrIn the Customizr configuration, Content Option, Post List: Blog archive
Change the “Select the length of post in list ….” to Full contentThe problem now is that the post list is a nightmare because the post list is a page with all the post with the full content displayed instead a brief summary