• Resolved ninadbe

    (@ninadbe)


    At my wordpress site [Maths Ground][1] I am using learnpress lms plugin. There are approximately 10 to 15 lessons under each course. However it has been observed that each lesson displays same meta title (i.e title of the course instead lesson even if seo plugin seo framework used to set separate title for each lesson). Due to which it leads to the duplication of meta title at each lesson and leads to SEO problems.

    Kindly let me know how to rectify this. Thanks.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Sybre Waaijer

    (@cybr)

    Hi there!

    The LearnPress plugin has to feed its page IDs and titles to WordPress so that The SEO Framework can pick up on them.

    Unfortunately, the plugin seems to go beyond the scope of the WordPress Rewrite API, and I’m afraid there’s no easy solution other than disabling SEO for those pages. You should be able to find an option that does this on the SEO Settings page under “General Settings -> Post Types”.

    Having unique page titles is mandatory. So, I recommend utilizing this for now, even though you’ll miss descriptions and other features.

    In any case, I suggest reaching out to the plugin developer(s) of LearnPress, too. (Edit: I found your topic.) In their code, they can make adjustments to accommodate for SEO plugins; and all other plugins for that matter, too.

    I hope this helps. Have a great weekend!

    • This reply was modified 5 years, 10 months ago by Sybre Waaijer.
    Thread Starter ninadbe

    (@ninadbe)

    Thanks for reply.

    Is it possible with hard coding ?

    Plugin Author Sybre Waaijer

    (@cybr)

    Hi again ??

    Yes, it’s possible although you’d have to figure out their query.
    You’ll need to use either or both of these two filters:

    the_seo_framework_title_from_custom_field
    the_seo_framework_title_from_generation

    You can find examples here.

    However, I advise against using the filters as you’d have to maintain them.
    It’d be much better if the LMS plugin adheres to the WordPress API. I see you’ve opened topics for other SEO plugins, too; which unfortunately indicates this issue is not exclusive to TSF.

    Thread Starter ninadbe

    (@ninadbe)

    Hi, thanks for reply…checked it after long time.
    Thanks for suggestion regd use of two filters as mentioned above link of details therein.
    Regd other plugin topic it is displaying different title at LMS lessons but not the custom titles which set at the lesson..It is showing title for each lesson in the format %blog_title%-%post_title% so blog_title is repeating for each lesson.

    Plugin Author Sybre Waaijer

    (@cybr)

    Hi again ??

    TSF appends the blog title automatically. Is there a way for you to filter out the %blog_title% part? It’d be most helpful to show me how far you’ve gotten.

    Cheers!

    P.S. there’s a code button above the comment reply textarea. The output will be like this: code here.

    Thread Starter ninadbe

    (@ninadbe)

    Hi again after long time….
    Not found any solution till date..
    It seems like it is not possible with hard coding as well

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘LMS site lessons are not displaying meta title set at plugin’ is closed to new replies.