WordPress.org

Ready to get started?Download WordPress

Forums

Bulk Page Creator
How to opt out from adding the H1 tag for the page title? (3 posts)

  1. heedfi
    Member
    Posted 1 year ago #

    I read one of the earlier threads wherein Dagan mentioned that was planning to release a version where there would be an option to incorporate the [pagetitle] without an H1 tag.

    Has this version been released? If yes, how does one enter [pagetitle] so that the H1 tag does not appear.

    http://wordpress.org/extend/plugins/bulk-page-creator/

  2. heedfi
    Member
    Posted 1 year ago #

    Just in case someone else has the same issue - here's what I tried.

    I went to edit plugins and made the following change

    Replace this line ...
    $pcontent = str_ireplace('[pagetitle]','<h1>' . htmlentities($rres[5]) . '</h1>',$_POST['sc-pages-content']);

    with ...

    $pcontent = str_ireplace('[pagetitle]', htmlentities(rtrim($rres[5]n)), $_POST['sc-pages-content']);

    And it now works fine.

    Bulk Page Creator is a very useful plugin (my rating is 5/5) and it could become even more useful if there was support for using the page-title in whatever way one wishes through the Admin Dashboard.

  3. DaganLev
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Heedfi,
    Have not yet released a pagetitle shortcode with the H1 stripped - will try and incorporate this in a later release - keep checking the release notes on new versions - should say when this gets incorporated.

    Cheers
    Dagan

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags