-
Author
-
July 13, 2015 at 15:27 #68027sharmstrModerator
Not by default. Maybe a plugin?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
July 14, 2015 at 01:21 #68126m1coParticipantCould not find any working plugins, only thing is: http://premium.wpmudev.org/blog/add-post-filters/
But I dont know where to add code in KLEO’s architecture, the first step instructs to add html code to index.php in theme, but nothing happens if I do so…
Could you pretty please take a look and tell me how to make it work with KLEO?
July 14, 2015 at 07:11 #68169sharmstrModeratorSorry, I have 30 support tickets I’m working on atm.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
July 14, 2015 at 07:15 #68170sharmstrModeratorMaybe this will help. Put this in your child theme functions.php file.
COPY CODE/** * show included template files */ add_action('all','template_snoop'); function template_snoop(){ $args = func_get_args(); if( !is_admin() and $args[0] ){ if( $args[0] == 'template_include' ) { echo "<!-- Base Template: {$args[1]} -->\n"; } elseif( strpos($args[0],'get_template_part_') === 0 ) { global $last_template_snoop; if( $last_template_snoop ) echo "\n\n<!-- End Template Part: {$last_template_snoop} -->"; $tpl = rtrim(join('-', array_slice($args,1)),'-').'.php'; echo "\n<!-- Template Part: {$tpl} -->\n\n"; $last_template_snoop = $tpl; } } }
It will add a comment to the page source for every template file that Kleo uses to build a page. Basically its an easy way to figure out the architecture. I use it all the time.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
-
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.