Automation Of Focus Keyword, Alt Txt and Content

#96795
  • Resolved James
    Rank Math free

    Hello Rank Math Support,

    I need your help regarding the issues below and let me know.

    1. We get posts through API. As part of that, we get the title, Image without alt Txt and Tags. So, I want Title to become automatically
    a. focus keyword,
    b. Alt Txt
    c.H2 Tag For all the posts that we get through API.

    2. We have different categories, But all posts in each category will have the SAME BODY OF TEXT, except Title since it changes as per the title of the post. So, I wanted to automate the content of every post with a dynamic title change. So, it saves a lot of time for me.

    Can you please tell me how to solve the issues above?.

    I can’t do it for hundreds of posts. Please tell me how to automate it. My Hands of paining for the last 2months doing it manually for 8 hours a day.

    • This topic was modified 3 years, 5 months ago by James.
Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    1.
    a) We are so so sorry but we have no option of automating this in Rank math. You can however check out and customize the code suggested in this thread: https://support.rankmath.com/ticket/inquiry-about-focus-keyword/?view=all

    b) Rank Math can help you automate the process of adding them. Check the settings for that in WordPress Dashboard > Rank Math > General Settings > Images.
    Missing Image Alt Text

    c) I am sorry but Rank math cannot add the header tags to your content. This can be done either while editing the individual posts or via your theme​ templates.

    2. You can customize the following filter to automatically get the post title or assign it a dynamic variable from your category page:

    
    /**
     * Filter to change the page title.
     * 
     * @param string $title
     */
    add_filter( 'rank_math/frontend/title', function( $title ) {
    	return $title;
    });
    

    ​Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    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.

Viewing 1 replies (of 1 total)

The ticket ‘Automation Of Focus Keyword, Alt Txt and Content’ is closed to new replies.