| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 7 months |
| seen | Dec 26 '12 at 11:52 | |
| stats | profile views | 9 |
|
Oct 17 |
awarded | Teacher |
|
Oct 16 |
comment |
Finding the page id Ops, sorry, I meant to type this <body <?php body_class(); ?>> with reference to the codex codex.wordpress.org/Function_Reference/body_class |
|
Oct 16 |
awarded | Editor |
|
Oct 16 |
revised |
add_action failed to display function by a plugin commercial code |
|
Oct 16 |
answered | Finding the page id |
|
Oct 16 |
answered | Woocommerce product page is not showing custom css |
|
Oct 16 |
comment |
add_action failed to display function by a plugin After a bit more reading, I have managed to get what I want by adding the echo for the return $content.$rating_value
And the hooks is working fine now. Cheers! |
|
Oct 16 |
comment |
add_action failed to display function by a plugin @Rarst What I am trying to do is to pull the function from the plugin and execute it elsewhere in the theme. The current situation, the plugin execute the code at the the_content and I want it to execute at the custom_hook
But which bit should I echo as you suggest? Pardon my lack of knowledge. |
|
Oct 16 |
comment |
add_action failed to display function by a plugin Dear @kaiser, thank you for the article. I have been reading and trying different method to solve this. And following the Example 1. What I do now is adding this on the theme file <?php do_action('custom_hook'); ?>
And add the action add_action('custom_hook','wnw_overall_rating_comments'); on the plugin.
That didn't work as it should. I'm trying to understand why it didn't pulled. |
|
Oct 14 |
answered | About Hooks and Filters |
|
Oct 14 |
asked | add_action failed to display function by a plugin |