Greetings.
The plugin uses ‘the_content’ filter, so by default it works on a custom post types.
Could you send me a dump of one row from wp_posts table that contains a “Recipie” post? And the term that should be converted to the link.
Also the problem can occure if you save content of “Recipie” posts in wp_postmeta table instead of wp_posts. In this case you can convert text “manually” in the “Recipie” post temlate.
hello
Thank you for your reply and your explanations.
After checking, your plugin works in the custom post types Recipe, but it does not work in ShortCode.
In this example, (http://inspirythemesdemo.com/alt-foodrecipes/recipe/buttermilk-biscuits/) “Ingredients” and “Methods” is 2 shortcodes [ingredients][method] inserted into post_content in wp_posts.
Do you have an idea for this to work?
thank you sincerely
Hello.
Yes, I have a solution.
You should find the 16th line in the file wp-content/plugins/terms-descriptions/includes/td_frontend.php
add_filter( ‘the_content’, array( $this, ‘parse_content’ ) );
and replace it with
add_filter( ‘the_content’, array( $this, ‘parse_content’ ), 12 );
This will force the plugin to parse the post content after applying all shortcodes.
I will add this changes in the next plugin version (after proper testing, of course).
Sincerely, Vladimir.
You are the king!
it works perfectly
Thanks yous very much! Very nice help and plugin