Hello,
Thank you for contacting Rank Math.
You can create your own Custom Header. This is a safe alternative if you don’t have wp_head on your site.
Create a file header-custom.php in your theme folder that doesn’t include wp_head
In your custom page template call that header using <?php get_header( 'custom' ); ?>
.
If you want to be able to hook into this still through your plugin you can use a custom action instead of wp_head. Basically, all you have to do is add <?php do_action('custom_head'); ?>
and then in your plugin hook into that the same way you would wp_head.
Example
function my_plugin_custom_head_action() {
// do stuff here
}
add_action('custom_head', 'my_plugin_custom_head_action');
You can use plugins too like the plugin below.
https://wordpress.org/plugins/tha-hooks-interface/
I hope that helps. Thank you, and looking forward to your update.
Thanks but I can call only your function of 404 or I need to call all wp_header? Thanks
Hello,
Thank you for contacting Rank Math.
We recommend using wp_header for 404 function on your site. Right now the Oxygen Builder is not on the list of Content Builder plugins that compatible with Rank Math https://rankmath.com/compatibility/. So if incase the redirection function is not working on your site there’s a big chance is a compatibility issue.
We hope this clarifies your question.
Thank you.
You guys really might want to get on top of working with Oxygen Builder. Its hands down the best page builder out there for experienced WordPress devs.
– Someone created a plugin YEARS AGO to get RankMath to read the content of Oxygen. Its been over 2 years, add the code to RankMath already. https://wordpress.org/plugins/wpdevdesign-rankmath-integration-for-oxygen/
– What is the priority on supporting builders and plugins? I see some of the most poorly optimized page builders and plugins on your compatibility list.
Hello,
We have replied to the other ticket you created, Kyle.
Please check our reply here: https://support.rankmath.com/ticket/support-oxygen-builder-already/?view=all
Thank you.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.