Jump to content


Photo
- - - - -

PageLines category title h1

category title h1

Best Answer James B , 22 July 2013 - 10:19 PM

Glad you got it working :-)

Go to the full post


  • Please log in to reply
9 replies to this topic

#1 xcel7

xcel7

    Advanced Member

  • Members

  • 45 posts
  • Framework Version:Wordpress Version: 3.8.2
  • Country: Country Flag

Posted 21 June 2013 - 02:31 PM

Hello, I would like the category pages not to show the .current_posts_info saying "currently viewing category 'Catname'" but instead just to show the category name in an h1 style. Is it easy to do? (I'm not good at php!)



#2 greenfly

greenfly

    Advocate

  • Members

  • 3268 posts
  • LocationManchester, England
  • Framework Version:latest
  • Country: Country Flag

Posted 21 June 2013 - 05:11 PM

Hello xcel7 

 

Do you have a link to your site please? 



#3 xcel7

xcel7

    Advanced Member

  • Members

  • 45 posts
  • Framework Version:Wordpress Version: 3.8.2
  • Country: Country Flag

Posted 27 June 2013 - 03:18 PM

Hello Martin, sorry, I didn't get your post.

 

Please Login or Register to see this Hidden Content

 

TIA



#4 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 27 June 2013 - 08:39 PM

Bonjour,

 

I don't see any category text on that site.  Did you already hide it with CSS?



#5 xcel7

xcel7

    Advanced Member

  • Members

  • 45 posts
  • Framework Version:Wordpress Version: 3.8.2
  • Country: Country Flag

Posted 28 June 2013 - 08:11 AM

Hello Rob,
yes I did hide it with css, I just corrected it now so you can see my problem :

Please Login or Register to see this Hidden Content



#6 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 28 June 2013 - 04:25 PM

I found it!

 

You need to install PageLines Base Theme, but do not activate it yet. 

 

FTP then to wp-content/themes/pagelines/sections and download postsinfo (a folder). Download the entire folder.

 

Navigate then to wp-content/themes/pagelines-template-theme and upload the postsinfo folder to wp-content/themes/pagelines-template-theme/sections.

 

Once uploaded, open the folder in FTP, and edit the file section.php.

 

Edit this line to remove Currently viewing the category: 

Please Login or Register to see this Hidden Content

Just make it:

Please Login or Register to see this Hidden Content

I am not sure what will happen if you wrapped single_cat_title in <h1> tags, like so.

Please Login or Register to see this Hidden Content

Save the file and upload.

 

Navigate to Dashboard > Appearance > Themes and activate Base Theme.

 

Let us know how it goes.



#7 xcel7

xcel7

    Advanced Member

  • Members

  • 45 posts
  • Framework Version:Wordpress Version: 3.8.2
  • Country: Country Flag

Posted 01 July 2013 - 12:44 PM

Thanks Rob,

Yes, it works, but:

• the commas are not removed

• what about my child theme "Mud" ?



#8 James B

James B

    Advocate

  • Moderators
  • 5126 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 01 July 2013 - 09:55 PM

Hi there,

 

You can edit the comma manually out of the code. If you're using a child theme then you'd upload the section into the sections folder so it overrides the main postsinfo section in the core and uses the new one setup in the mud theme.



#9 xcel7

xcel7

    Advanced Member

  • Members

  • 45 posts
  • Framework Version:Wordpress Version: 3.8.2
  • Country: Country Flag

Posted 22 July 2013 - 01:54 PM

Hi James,

Thanks a lot, it works very well! I had trouble fixing it but I finaly succeeded



#10 James B

James B

    Advocate

  • Moderators
  • 5126 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 22 July 2013 - 10:19 PM   Best Answer

Glad you got it working :-)







Also tagged with one or more of these keywords: category, title, h1