• MM

    (@reginawebsolutions)


    Hi,

    I’m using Customizr along with a cool little cms plugin called “PTA Member Directory and Contact Form”

    I’m inserting the plugin into a page with shortcode. The plugin displays its own page title, but it’s having problems removing the current page title and meta data. Here’s a picture:

    https://oi40.tinypic.com/34e3fr9.jpg

    I thought about creating a custom layout, just using the regular layout but removing the php where it calls the title, but I can’t figure it out. Can you think of a way to do this, or another simple solution?

    Great free theme! Great support!

    MM

Viewing 6 replies - 1 through 6 (of 6 total)
  • rdellconsulting

    (@rdellconsulting)

    This Snippet will help you remove the Icon/Title.

    To do it on a specific page then you’ll need to add .page-id-n. Look at the HTML for the page to determine the value of n.

    Thread Starter MM

    (@reginawebsolutions)

    Pretty close to perfect – except it removed the shortocde-generated page title as well. Am I doing this right?

    /* Remove Page Icon/Title */

    .page-id-13 .entry-title.format-icon {
    display: none;
    }

    /* Remove Post Icon/Title */

    .page-id-13 .blog .entry-title.format-icon {
    display: none;
    }

    rdellconsulting

    (@rdellconsulting)

    Need a link to site to diagnose

    Thread Starter MM

    (@reginawebsolutions)

    Ok thanks –

    Here is the page in question: https://goo.gl/C83wBb

    It is utilizing the plugin I mentioned above. You will notice that the above custom css has successfully removed the page title, but also removed the generated page title from the plugin. Not knowing how the plugin works, I don’t know how it is interacting with the theme.

    If I have to do without this plugin I will but it is certainly a nice solution for WP’s lack of CMS options when it comes to displaying contacts (compared to good ole Joomla, for instance)

    rdellconsulting

    (@rdellconsulting)

    I can see ‘Staff’ is being hidden on that page by this code which affects all pages, not just page-id-13.

    .page #main-wrapper h1.format-icon:before {
        content: none;
    }

    Followed by:

    .page-id-13 .entry-title {
        display: none;
    }

    At moment, can’t see that the Plugin is part of the problem. It’s this CSS.

    Can you explain what should be happening again?

    Thread Starter MM

    (@reginawebsolutions)

    In this particular instance, this is basically what I’m trying to do:

    1. Insert plugin shortcode into “Staff” page (.page-id-13)
    2. Somehow remove the title that is being generated below the contact form, while keeping the “Staff” title intact.

    However, I must apologize for missing something in my explanation. For some reason, the last contact listing on the page is generating a title that sits below it.

    Easier to just show you … just visit the link again:

    https://goo.gl/C83wBb

    I’ve removed the following custom css for troubleshooting:

    .page-id-13 .entry-title {
    display: none;
    }

    and

    .page #main-wrapper h1.format-icon:before {
    content: none;
    }

    Also, .page #main-wrapper h1.format-icon:before isn’t removing any page titles – only the icon.

    Finally I realize this may not be a theme problem at all, so I appreciate you looking at it. Next step I suppose would be to go to the plugin support forums ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Remove page title only in specific instances’ is closed to new replies.