- This topic has 9 replies, 3 voices, and was last updated 1 year, 6 months ago by Tom.
December 21, 2020 at 1:51 pm #1589885David Glass
How to get Rank Math to integrate a Hook of “elements” as part of an input? For example, a paragraph embedded via a Hook from GeneratePress to an entry cannot be parsed by Rank MathDecember 21, 2020 at 2:57 pm #1589925DavidStaffCustomer SupportDecember 22, 2020 at 6:54 am #1590781David Glass
Yes!! Thank You David!! …how make Rank Math to parse elements that are hooked in??December 22, 2020 at 7:17 am #1590808David Glass
Example: How to???
wp.hooks.addFilter( ‘rank_math_title’, ‘plugin-name’, callback_function_to_fetch_title ) // This will hook into title analysis data.
wp.hooks.addFilter( ‘rank_math_content’, ‘plugin-name’, callback_function_to_fetch_content ) // This will hook into content analysis data.December 22, 2020 at 7:19 am #1590809David Glass
Were AND How insert this scripts??December 22, 2020 at 11:25 am #1591089TomLead DeveloperLead Developer
Those filters are for the block editor content itself.
Are you trying to use Rank Math in Block Elements, or Hook Elements?December 23, 2020 at 12:55 pm #1592500David Glass
Hi Tom thanks!!
I need Rank Math to admit and relize its work in the texts that I have integrated through a hook as it does with a standard paragraph, in order to obtain a Rank Math calculation as a whole of both, the content paragraphs and the Hook paragraphs inserted to that entry.December 24, 2020 at 11:02 am #1593494TomLead DeveloperLead Developer
When you say Hook, do you mean the regular Hook Element (not the block editor)?
If so, there would have to be a way to integrate Rank Math with a regular textarea custom field – not sure if that’s something they support?December 24, 2020 at 11:26 am #1593514David Glass
Thanks for paying attention to me! Yes, when I say “Hook” I mean the element to create “hooks” of the template “Generatepress”. But it could be any plugin that performs the same function as an example: create a text field that will be displayed according to its filter in certain wordpress inputs.
It is important to avoid overload of work in large sites. But Generatepress does not integrate them to Rank Math, that is not good because it does not cooperate with SEO.
I’m still looking for a way to make peace between Generatepress and Rank Math but it’s still out of my reach (I’m not a hacker 🙁 …
I’ve seen that Yoast has a plugin to consolidate hooks but I don’t want to migrate to Yoast.
I’m sorry, English is not my language, but I will learn 🙂December 26, 2020 at 12:52 pm #1595102TomLead DeveloperLead Developer
GeneratePress tries not to integrate with any third-party plugins by default, as that is how bloat starts to creep into a theme.
In this case, does Rank Math make it possible to integrate their plugin with a custom field textarea?
Ideally, you shouldn’t really be adding a ton of content into your Hooks, so SEO shouldn’t be an issue. Your content should be in your regular post content area.
- You must be logged in to reply to this topic.