• Resolved Andy Woggle

    (@andy-woggle)


    Hello..WP Newbie here..I’ve made my site (although it’s live it’s on a subdomain until I’ve finished it) using the Shiword theme..

    I have a few static pages,and one page for Posts..I don’t want the titles to show on Pages (I think it looks un-necessary) but I do want it to show on Posts.And I am really struggling to work out how this can be possible.Currently I’m using a plug-in (Hide Title) but that removes from both..

    My site is here at the moment- https://www.build.mr-woggle.co.uk

    I can post my page.php code if need be,but don’t know where to?

    Thanks for your time

    Andy

Viewing 6 replies - 16 through 21 (of 21 total)
  • Thread Starter Andy Woggle

    (@andy-woggle)

    If this explains anymore,here is the Blog post https://www.mr-woggle.co.uk/?page_id=33 which obviously doesn’t work without titles,it looks messy..

    I cannot work out whats happened ??

    Thread Starter Andy Woggle

    (@andy-woggle)

    Sorted it.I changed theme,uninstalled the theme I was using,re-installed it and activated it..I now need to remove titles from the pages not the blog,but I *think* I’ve worked out how to do that

    Thanks all

    Thread Starter Andy Woggle

    (@andy-woggle)

    I’ve sorted the lacking of title on the Post page,which was really my main concern, and why I selected resolved.

    I haven’t resolved the titles on pages yet,but will read the link you sent me about custom css and try again

    Thanks all

    Hi there,

    try one of the following

    * add the css code to “custom CSS” option field in “theme options” page

    body.page .storytitle {
    position:absolute;
    top:-9999px;
    left:-9999px;
    }

    * or delete the line 30 in page.php

    <?php shiword_post_title( array( 'featured' => 1 ) ); ?>

    This is how I hid the Page titles, but showed the Post titles:

    .page #page-caption { display: none; } /* Do not display the Page title div */
    .blog #page-caption { display: none; } /* Do not display the Page title div for the Posts main page */

    .page for Pages, .blog for the Posts main page.

    Can you also use that code on a static front page? I’d like to hide the front page title, but keep the titles under my “featured content” grid. Is that possible?

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘Remove Page Title but not Post Title’ is closed to new replies.