-
AuthorPosts
-
February 22nd, 2017 at 00:14 #42862soup4bobPower User
Hi there,
Thank you so much for putting a great theme together, its really hit all the spots I’m looking for in a theme.My question: is there any way to add the tags of a post to show on the front page’s display of individual posts? This would likely happen underneath the excerpt of the post. If this is a paid thing, let me know- I’m in to support the cause.
Thanks!
-bobWebsite: robertgreelsjournal.com
February 26th, 2017 at 20:34 #42983ZedCryout Creations mastermindThat would be possible by hooking the functionality:
add_action( 'cryout_post_excerpt_hook', 'verbosa_posted_tags' );
If you like our creations, help us share by rating them on WordPress.org.
Please check the available documentation and search the forums before starting a topic.March 2nd, 2017 at 20:26 #43074soup4bobPower UserMost excellent. Thank you for the response.
I hate to ask another question but I don’t know where to put this action. If its an easy response for you, would you mind pointing me in the right direction?Many thanks,
-Bob
March 10th, 2017 at 19:32 #43174ZedCryout Creations mastermindIf you don’t already have one, you should create a new child theme and place this in its functions.php file.
If you like our creations, help us share by rating them on WordPress.org.
Please check the available documentation and search the forums before starting a topic.March 14th, 2017 at 20:47 #43263soup4bobPower Useroh of course. that makes sense. Thanks a bunch for taking the time to respond. Very much appreciated and I’ve tossed your name around to a couple of people looking at wordpress themes. Support!
June 8th, 2017 at 20:41 #46668Hello!
I’m also interested in this thread but after doing what Zed has proposed I had no success.
Would you be so kind to detail it a little bit more?
Thank you in advance.
Best regards.
Website: monyi.net
June 13th, 2017 at 21:57 #47167ZedCryout Creations mastermind@monyi, how far along did you customize?
Do you have a child theme set up? Does it have any code in its functions.php?If you like our creations, help us share by rating them on WordPress.org.
Please check the available documentation and search the forums before starting a topic.June 22nd, 2017 at 03:48 #48055Hi @Zed, sorry for the late reply.
No, at the moment I’m not using a child theme. Just tried your code in the version 0.9.10.
This is the code I have in functions.php
<?php /* * Functions file - Calls all other required files * * PLEASE DO NOT EDIT ANY THEME FILES * unless you are prepared to lose all changes on the next update * * @package Verbosa */ // variables for theme identification - do NOT edit unless you know what you are doing define ("_CRYOUT_THEME_NAME", "verbosa"); define ("_CRYOUT_THEME_VERSION", "0.9.10"); require_once( get_template_directory() . "/admin/main.php" ); // Admin side // Frontend side require_once( get_template_directory() . "/includes/setup.php" ); // Setup and init theme require_once( get_template_directory() . "/includes/styles.php" ); // Register and enqeue css styles and scripts require_once( get_template_directory() . "/includes/loop.php" ); // Loop functions require_once( get_template_directory() . "/includes/comments.php" ); // Comment functions require_once( get_template_directory() . "/includes/core.php" ); // Core functions require_once( get_template_directory() . "/includes/hooks.php" ); // Hooks
Thanks in advance for your help.
Website: monyi.net
July 31st, 2017 at 01:31 #51046Hello!
I’m need to show tags at post excerpts too so i’ve putted string “add_action( ‘cryout_post_excerpt_hook’, ‘verbosa_posted_tags’ );” into file “function.php” but nothing has changed – still no tags showed.
Please, help. Thanks in advance!My file “function.php” now looks like this:
<?php /* * Functions file - Calls all other required files * * PLEASE DO NOT EDIT ANY THEME FILES * unless you are prepared to lose all changes on the next update * * @package Verbosa */ // variables for theme identification - do NOT edit unless you know what you are doing define ("_CRYOUT_THEME_NAME", "verbosa"); define ("_CRYOUT_THEME_VERSION", "0.9.10"); require_once( get_template_directory() . "/admin/main.php" ); // Admin side // Frontend side require_once( get_template_directory() . "/includes/setup.php" ); // Setup and init theme require_once( get_template_directory() . "/includes/styles.php" ); // Register and enqeue css styles and scripts require_once( get_template_directory() . "/includes/loop.php" ); // Loop functions require_once( get_template_directory() . "/includes/comments.php" ); // Comment functions require_once( get_template_directory() . "/includes/core.php" ); // Core functions require_once( get_template_directory() . "/includes/hooks.php" ); // Hooks add_action( 'cryout_post_excerpt_hook', 'verbosa_posted_tags' );
Website: latenightrabbit.ru
August 4th, 2017 at 16:50 #51227ZedCryout Creations mastermindThe ‘cryout_post_excerpt_hook’ hook location is only called when posts are displayed as excerpts, not full posts, so make sure the theme’s option is set accordingly.
If you like our creations, help us share by rating them on WordPress.org.
Please check the available documentation and search the forums before starting a topic. -
AuthorPosts
The topic ‘adding tags to front page posts’ is closed to new replies.