WordPress.org

Support

Support » Plugins and Hacks » Bulk Page Creator » How to opt out from adding the H1 tag for the page title?

How to opt out from adding the H1 tag for the page title?

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    Plugin Author DaganLev

    @daganlev

    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to opt out from adding the H1 tag for the page title?’ is closed to new replies.
Skip to toolbar