Webflow Interactions on WordPress site?

When moving a webflow designed site over to WordPress you must put the wf-data info in the header of your WordPress design. The wf-data code will call out specific interactions within your webflow.js. I also call out my CSS in the head of every custom post type template – so if my custom post type … Read more

How Do I Unhook This Parent Theme Function?

wp_loaded would fire too early – you can’t remove a hook before it’s been added. I’d try adding your own hook with a higher priority, at the same level as the parent’s hook. That is, not inside an action. add_filter( ‘preprocess_comment’ , ‘my_preprocess_comment_function’, 5 ); Then within your function, remove the parent function: function my_preprocess_comment_function( … Read more

Show post object of any page in frontend

Because in functions.php, it is too early to just run the print_r(), you may run it within a init hook like this: Placing it inside theme’s functions.php add_action( ‘init’, ‘test_trace’ ); function test_trace() { global $post; print_r($post); }