• Resolved Stephen Ekpa

    (@droidafrica)


    Hi…

    I have a custom post type with a customised meta description shortcode. The shortcode is %%specs%% which is working very well with yoast seo plugin.

    Now, please how can I get it to work with rankmath?

    Thanks.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter Stephen Ekpa

    (@droidafrica)

    Any help?…

    Thanks

    Plugin Author Rank Math

    (@rankmath)

    Hello @droidafrica

    Thank you for contacting the support.

    Can you please tell us which variable are you mentioning from the other SEO plugin?

    Or do you mean that the Shortcodes were used in the custom Meta descriptions?

    Sorry for the ignorance but want to provide a clear answer.

    Looking forward to helping you.

    Thread Starter Stephen Ekpa

    (@droidafrica)

    The Variable (shortcode) belongs to a custom post type generated by a Plugin, and was created by the plugin developer (%%specs%%). It is well recognized by Yoast SEO plugin.

    Now, when I imported from Yoast to Rankmath, the meta description of that custom post type was blank.

    Plugin Author Rank Math

    (@rankmath)

    Hello @droidafrica

    Can you please tell us which plugin is that and did you contact the developer of that plugin to add Rank Math’s compatibility?

    Looking forward to helping you. Thank you.

    Thread Starter Stephen Ekpa

    (@droidafrica)

    Hey….

    Thanks for your reply. Like you suggested, I have emaailed plugin developer, but he’s yet to respond.

    But I opened the the customized plugin that created %%specs%%, and discovered the code snippet below, which I think is what makes Yoast compatible and able to recognize %%specs%%

    // define the action for register yoast_variable replacments
    	function aps_register_custom_yoast_variables() {
    		wpseo_register_var_replacement( '%%specs%%', 'generate_aps_custom_meta', 'advanced', 'Add APS Product specifications attributes to SEO meta description' );
    	}
    	
    	// Add action
    	add_action('wpseo_register_extra_replacements', 'aps_register_custom_yoast_variables');

    Now, can you help add any code to the above to make rankmath work just like yoast?

    Thread Starter Stephen Ekpa

    (@droidafrica)

    Just trying to follow up on this. Got a reply from the plugin developer and he said he doesn’t have any solution for now, until he is able to read through Rankmath documentation. I’m checking if there is any possible solution from your end. Thanks

    Plugin Author Rank Math

    (@rankmath)

    Hello @droidafrica

    You can show this page to the plugin developer so he can add the support which is needed for the Rank Math plugin:
    https://rankmath.com/kb/filters-hooks-api-developer/

    Hope that helps. Thank you.

    Plugin Author Rank Math

    (@rankmath)

    Hello,

    Since we did not hear from you on this, we are assuming that the issue’s resolved.

    If that is not the case, please feel free to reply to this topic or open a new one.

    We are here to help.

    Thank you.

    Thread Starter Stephen Ekpa

    (@droidafrica)

    Hi RankMath…

    This problem is still not resolved yet. Plugin developer could not find any work-around from the link above. And he sent email to you, but there was no reply.

    “Hi Stephen
    i have sent message to the Rankmath support team but i didn’t received any response yet from them, just auto reply.
    I humbly request you to wait for 1-2 days more, i am sending another message to them.”

    Please look into this issue please.
    Thanks

    Plugin Author Rank Math

    (@rankmath)

    Hello @droidafrica

    Can you please request the developer to use the contact form on our website to contact us?

    We also have an email listed there. Once we receive an email, we will definitely get back to them and resolve the issue asap.

    In the meantime, if there’s anything else we can help you with, please let us know. We are here to help. Thank you.

    Thread Starter Stephen Ekpa

    (@droidafrica)

    Please, help resolve this problem. Developer claims you never responded to his email, or show me how to resolve it. I just want %%specs%% registered with rank math, it is currently registered with yoast, and only yoast can recognize that term. Thanks

    • This reply was modified 4 years, 5 months ago by Stephen Ekpa.
    Plugin Author Rank Math

    (@rankmath)

    Hello @droidafrica

    That should not be the case. We revert to every email sent to us and every support ticket.

    Maybe the developer can open a new support topic here so we can keep the communication open:
    https://www.ads-software.com/support/plugin/seo-by-rank-math/#new-topic-0

    With that said, by utilizing the following filter, the plugin developer can register a new variable:
    https://rankmath.com/kb/filters-hooks-api-developer/#add-extra-variables

    The plugin developer can refer the code in includes/modules/woocommerce/class-wc-vars.php file. In the Rank Math plugin, we have registered variables for the product’s price using the same filter:
    /develop/includes/modules/woocommerce/class-wc-vars.php#L24

    Hope that helps. Thank you.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Meta description of a custom post type not detected’ is closed to new replies.