- This topic has 9 replies, 2 voices, and was last updated 5 years, 8 months ago by .
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
Please clarify which comments link text you are referring to.
Hello. The one above the post. i also want to change "FILED UNDER:" before the category.
1. You need to filter the post_comments shortcode using the genesis_post_comments_shortcode filter
2. Also, you need to filter the post_categories shortcode using the genesis_post_categories_shortcode filter
Both modifications should be done in your child themes functions file.
You can see the default code in genesis > lib > shortcodes post.php
Hello - and thank´s. But this is to little information for me to fix this.
Is there a tutorial?
I don´ know how to "filter" (I am not understanding english that well).
I have not been working with shortcodes either....
I haven't seen any existing tutorials for this so the code would need to be written and tested unless you can find code which uses those 2 filter hooks.
Can you explain the word "filter"? Is it to take away the shortcodes from the code if I´ll find them?
Anna *feeling stupid*
Filter means modify and filter functions require fairly advanced knowledge of writing PHP code.
I suggest you try and find a working example of code which uses the filter hooks i mentioned.
I searched but did not find any which you can use as a guide to modify the default output of both shortcodes.
Basically a filter function enables you to modify the default output which can be seen in genesis > lib > shortcodes post.php
Can you recommend a plug in for the php-code? Or do I have to experiment in the original files?
© 2022 WPEngine, Inc.