Support » Plugin: AMP for WP - Accelerated Mobile Pages » Title of page No Longer visible

  • Resolved osseonews

    (@osseonews)


    Upon update to Version 0.9.97.3, all of the titles disappeared from any single pages. This happens on every design, Design 1, Design 2 and Design 3, but not on the Swift design (which we don’t use anyway). The title of the post, simply is not displayed in the page and the h1 tag that used to be used to display the title of the post (<h1 class=”amp-wp-title”>POST TITLE</h1>), is simply no longer there. Needed to downgrade to get the page back to normal again.

Viewing 13 replies - 1 through 13 (of 13 total)
  • Same here. Happening on Design 1, Design 2 and Design 3 indeed.

    Also the Adsense auto ads aren’t loading anymore.

    Yeah Here also Whats going on

    Plugin Contributor ampforwp

    (@ampforwp)

    osseonews vichuroxx yuriv

    Can you please share the URL please so I can check it and solve it for you.

    Upgraded again to 0.9.97.3 and the titles are visible again. So on my end this is solved now.

    Auto Ads still aren’t working. Do you know if they’re working in the Advanced AMP ADS extension? If so, we maybe we will buy the extension.

    At the moment we are loading Auto Ads via the fields “Enter HTML in Head” and “Enter HTML in Body (beginning of body tag)” (in advanced settings). Have been doing that for months but suddenly it stopped working.

    My part its still there can u please check

    https://ktuqbank.com/opportunities-dont-let-money-stop-start-up-journey/amp/

    All normal AMP Posts and Pages don’t have title.

    Custom Built Pages using AMP builder is working fine. I Updated plugin and cleared cache still no effect.

    As osseonews said, Title is shown in Swift theme but i am using Design 3 🙂

    I can confirm that this still does not work. Unfortunately, I do not have a live site to share, as we obviously could not go live with a broken AMP website that does not show any titles. We have tested this on a staging server, and as noted above, the Title of the post, does not display on any themes, other than Swift. So, I think it is obvious that there has been some code change in the actions and filters that display the title on the 1st 3 designs. If you can let us know what the changes are, we can locate the error. I have attempted to look on Github to see what changed in various versions, but have been unable to locate the necessary files. Which files contain the code that control the actions and filters below? Which code generates the title for the designs?
    <?php do_action(‘ampforwp_post_before_design_elements’) ?>
    <?php $this->load_parts( apply_filters( ‘ampforwp_design_elements’, array( ’empty-filter’ ) ) ); ?>
    <?php do_action(‘ampforwp_post_after_design_elements’) ?>

    I should mention that we have deactivated every single plugin, other than AMP for WP, and are working off of the Twenty Seventeen theme, and the problem persists. So this is not related to any plugin or theme conflicts. This is a bug in the AMP for WP plugin. It must be easily replicable, as you just have to install this plugin with no other and run the Twenty Seventeen theme, and then choose Design 1, 2 or 3, and titles do not show on posts. Somehow the titles do show on the Swift theme, so locating the bug should be easy. Clearly, the Swift theme is using a different function to display the title, which is easily seen by comparing Single.php in the Swift theme to the Single.php in Designs 1, 2, and 3. Swift calls the title directly, while the other themes do so via actions and filters. Something was changed with those filters.

    • This reply was modified 9 months, 2 weeks ago by  osseonews.
    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    @osseonews @vichuroxx @yuriv

    Can you guys please contact us on team@magazine3.com ?

    I will personally make sure that it gets resolved ASAP!

    Thanks for fixing

    Plugin Contributor ampforwp

    (@ampforwp)

    Hey Vichuroxx,

    Your welcome.

    I have the same problem, H2 Titles are gone from posts. bitcoinmarketshare.com

    Plugin Contributor ampforwp

    (@ampforwp)

    Hi Thindpls,

    Thank you for sending us the link.

    Could you elaborate your issue and let me know in which design you’re facing the issue of Title missing from your posts so that I can check and let you know about it?

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Title of page No Longer visible’ is closed to new replies.