H1 Tag below menu (am-tabs)

Discussion in 'aMember Pro v.4' started by juanfra, Mar 29, 2012.

  1. juanfra

    juanfra New Member

    Joined:
    Sep 29, 2011
    Messages:
    22
    Hello,

    I'm creating my own theme for amemberv4, I'm in the need of removing the H1 title below the menu and I can't find where to remove that.

    Any help?

    Cheers,
    Juan.
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    it is in main layout.phtml file.
    /amember/applications/default/views/layout.phtml
  3. juanfra

    juanfra New Member

    Joined:
    Sep 29, 2011
    Messages:
    22
    Hi Alex,

    Thanks for your response, I tried that before and it didn't work. Maybe because I'm using amember with wordpress?

    I've tried on both
    Code:
    /amember/applications/default/views/layout.phtml
    and
    Code:
    /members/application/default/themes/mytheme/layout.phtml
    Thanks,
    Juan.
  4. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Juan,
    If you use wordpress theme, layout file that is being used can be found in /amember/application/default/plugins/protect/wordpress/default/layout.phtml
  5. juanfra

    juanfra New Member

    Joined:
    Sep 29, 2011
    Messages:
    22
    Thanks Alex!:)
  6. krhaynes

    krhaynes New Member

    Joined:
    Oct 17, 2011
    Messages:
    22
    Hi, I need to do the same thing and I've located the file in my wordpress/default folder but I'm not sure what I need to do to remove the H1 title on the page (I just want to remove it from the page not from the page title)...
    thanks in advance!
    Kevin
  7. krhaynes

    krhaynes New Member

    Joined:
    Oct 17, 2011
    Messages:
    22
    Hi all! Any ideas? re my post above?
  8. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    It is inside application/default/plugins/protect/wordpress/amember.php
    <?php if (empty($this->layoutNoTitle)): ?>
    <h1><?php echo $title ?></h1>
    <?php endif; ?>

Share This Page