• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Boca.des

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • October 9, 2014 at 3:54 pm in reply to: Posts stripping HTML tage #127279
    Boca.des
    Member

    I found this piece of code

    //* prevents excerpts from stripping html tags
    add_filter('get_the_content_limit_allowedtags', 'news_custom_allowedtags');
    function news_custom_allowedtags() {
    return '<script>,<style>,<b>,<br>,<em>,<h1>,<h2>,<h3>,<h4>,<h5>,<h6>,<class>'; 
    }

    But what I am trying to do is add classes to certain parts of the content displayed - The posts are being generated from filling in a form (gravity forms)... So it pulls a title, address, age etc - I want to style these individually? Do I need to add another template for this?

    September 13, 2014 at 6:50 am in reply to: keep post title while removing page title #124221
    Boca.des
    Member

    Will do thanks, thanks for the time and help.

    September 12, 2014 at 4:59 pm in reply to: keep post title while removing page title #124172
    Boca.des
    Member

    Both of them share the .entry-title tag, so they are both disappearing - the only difference is the page title is not a link, and the post titles are. I've tried separating them but no joy, I may just have to keep the page title displayed - and add a more descriptive title in the Custom document title

    .page-template-page_blog-php .entry-title {
        display: none;
    }'
    and
    

    .page-template-page_blog-php .entry-title a {
    display: block;
    }'

    September 12, 2014 at 1:39 pm in reply to: keep post title while removing page title #124148
    Boca.des
    Member

    I've disabled the coming soon plugin for you to see ..

    http://www.kidday.co.uk/southlanarkshire/blantyre-and-hamilton/whats-on/clubs-and-classes/arts-crafts/

    September 12, 2014 at 12:22 pm in reply to: keep post title while removing page title #124135
    Boca.des
    Member

    I'm using this for the pages that are not category ones. This plugin removes the post titles as well which I want to keep

    September 12, 2014 at 10:39 am in reply to: keep post title while removing page title #124125
    Boca.des
    Member

    I have over 200 category pages - its a kind of listings site. I can't name each individual page id?

    September 12, 2014 at 10:10 am in reply to: keep post title while removing page title #124120
    Boca.des
    Member

    Sorry, my apologies - didn't realise till I sent it.

    Original code:

    add_action ('get_header', 'remove_page_titles_genesis'); 
    /**
     * @author    Brad Dalton
     * @example   http://wpsites.net/
     */
    function remove_page_titles_genesis() {
    if ( is_page() || $post->post_parent ) { 
    remove_action('genesis_entry_header', 'genesis_do_post_title');
    }}

    Source of code: http://wpsites.net/best-plugins/hide-page-titles-genesis/

    I can't send link to page as its not live yet, its unfinished.

    I can't seem to hide the page titles but show post titles after reading the tutorial? - It just hides them all?

    Thanks again
    Ryan
    Ryan

    January 4, 2014 at 10:38 am in reply to: Adding maintenance/landing page. #83153
    Boca.des
    Member

    Great, Thanks Brad,
    I was just asking incase their was a built in option in the Genesis Framework.

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble