A A A
Forum Scope


Match



Forum Options



Min search length: 3 characters / Max search length: 84 characters
Forum Login
Lost password?
themes-topic
h1 tags for post titles
Avatar
Stefan Zabel

90 Posts
(Offline)
1
Feb 27, 2019 - 9:19 am
Print

We are running version 5.7.5.3 at the moment but we are upgrading to 6 soon.

The standard header tag for post titles is h2.

We should be able to rank our posts better if this was set to h1.

Can you tell me,

1. if there’s a way to do this in our current theme

2. if any of the new v6 themes use h1 for post titles

Thanks

Avatar
Simple Press
394 Posts
(Offline)
2
Feb 27, 2019 - 9:52 am
Print

Hi:

If you’re using the “Default” theme, I don’t believe the topic title is rendered between H2 tags.  Its actually rendered under the css classnames spHeaderName and css id spTopicHeaderName.

Is it possible that someone might have modified a child theme to render these inside H2 tags?

Thanks.

Avatar
Stefan Zabel

90 Posts
(Offline)
3
Feb 27, 2019 - 10:02 am
Print

Hi, I did the child theme but definitely didn’t modify the tags, it’s not something I knew about. We have 2 separate marketing agencies that have told us the same thing, that the title is h2.

What header tag does the default theme use for the post title?

And could you tell me that the post title header tag is for your new series of v6 themes?

Is there some css we could add somewhere to adjust to h1?

Thanks

Avatar
Simple Press
394 Posts
(Offline)
6
Feb 27, 2019 - 6:26 pm
Print

Hi – the post title is wrapped in a div tag and assigned the classnames and ids mentioned in the prior post.

Unfortunately you can’t use css to inject the H1 tags into a div.

Thanks.

Avatar
Stefan Zabel

90 Posts
(Offline)
4
Feb 27, 2019 - 12:12 pm
Print

…if the post titles in the new v6 themes are set up with h1 tags, we’ll just leave it as we’re about to work with your team to upgrade

but if you could let me know on the points in my previous post we’ll be able to make a decision on what to do next, thanks

Avatar
Simple Press
394 Posts
(Offline)
5
Feb 27, 2019 - 6:25 pm
Print

Hi:

The differences between the themes in Version 5 and 6 were mostly internal coding and structure. There were few changes to the tags along the lines you’re asking about.  To force the H1/H2 tags around the topic names would likely require using a child theme.

Thanks.

Avatar
Stefan Zabel

90 Posts
(Offline)
7
Feb 28, 2019 - 6:12 am
Print

Ok, thanks for this, we have a way forward.

Can you confirm however – without us changing anything, what header tags does SP use for post titles, v5 and v6 themes?

Avatar
Yellow Swordfish
Glinton, England

16436 Posts
(Offline)
8
Feb 28, 2019 - 6:20 am
Print

If by ‘post titles’ you are referring to the main page/post title at the top of the page then Simple Press has nothing to do with displaying this. The html tags used here are pure WordPress theme. The display the forum theme is responsible for is everything after the page title.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Simple Press
394 Posts
(Offline)
9
Feb 28, 2019 - 1:23 pm
Print

Hi:

For the ‘default’ theme in V6, the topic titles are wrapped in divs with classnames spHeaderName and css id spTopicHeaderName.  You or your developer can see this by just inspecting the topic title using the built-in browser inspection tools.

I hope this helps.

Forum Timezone: America/New_York
All RSSShow Stats
Administrators: Blues Dancer, Simple Press, SP Community Support
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 630
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Newest Members:
David Hnát
Gary Lee
Glen Stewart
Rodney Pacis
kent black
Robert Meharg
test test
narek amprachamian
Forum Stats:
Groups: 7
Forums: 17
Topics: 10065
Posts: 79362

 

Member Stats:
Guest Posters: 607
Members: 16923
Moderators: 0
Admins: 3

Most Users Ever Online
499
Currently Online
Guest(s)
11
Currently Browsing this Page

1 Guest(s)