Support Forum

Adding Alt Tags To Reboot Theme

EK Edward Koon
Edward Koon
Member

Hi Guys, I’m wanting to add alt image tags to simple press Reboot theme. While not a major ranking factor i believe this would be a beneficial mod.

Basically wherever an image is displayed in the code, add alt=”name” to it.

Going through the light matte overlay file i am using and see only 5-6 images. According to Bing seo tool it’s seeing 29 images with no alt tags.

I have the Reboot child theme active. My question is what files do i copy to this child theme to add the required alt tags? 

Thanks again for all your help.. wink

Ed

16 Answers

New Answer

MP Mr Papa
Mr Papa
Member

That is because they are not done via the theme…  and the alt tags do exist, but in some cases, they are just empty strings…

we already have an open ticket to add some text to the empty string alt tags…

EK Edward Koon
Edward Koon
Member

I thought I could help out with this since I know what needed to be done. But since your on it, any chance of adding the basic open graph tags too? On Jun 13, 2015 1:20 PM, “Simple:Press Support” wrote:

>

MP Mr Papa
Mr Papa
Member

since its in core code, dont think you can help much…  thanks though!  looks like Andy has taken ownership of the ticket, so should hopefully get in the next release…

EK Edward Koon
Edward Koon
Member

Hey Andy, since you are tasked with this, is it possible to add basic open graph tags while your in the core code? You guys have done a fantastic job with this forum. I am happy to assist any way I can. If we can tweak the seo by adding open graph sp will rock! 

MP Mr Papa
Mr Papa
Member

No, it wouldnt be included as part of the image alt tags…  but we can open a different ticket for consideration… no ETA…  of course, if you wanted to submit a patch, would help it along… 😉

EK Edward Koon
Edward Koon
Member

I wouldn’t know how to create a patch. But I have been experimenting with seo. My theme writer came up with a code snippet that removes to forum page open graph tags. 

Using the forum pages yoast seo title line I have ‘Web Forums | Doc’s Forums’ which sets the base title line for the forum. Then with the appropriate settings in components seo sp is set to show the forum that is selected and in topic view only show the topic description. That combination is improving the page rank. 

Open graph tags would be a huge help for seo. Google yawns at pages that don’t have open graph. As for a featured image, a toggle to set featured image like WordPress posts, or a check box to select a default forum image would work if a forum post did not use an image. 

YS Yellow Swordfish
Yellow Swordfish
Member

As you are probably aware, @mr-papa is our ‘SEO’ guy here. I have never fully got my head around it – lack of interest I guess! And he is away this week. But I find myself oddly interested and would like to know a little more detail.

Any chance of a link to a forum page where tou have this operating so I can look at the source and see exactly what has been added?

EK Edward Koon
Edward Koon
Member

Yellow Swordfish said
As you are probably aware, @mr-papa is our ‘SEO’ guy here. I have never fully got my head around it – lack of interest I guess! And he is away this week. But I find myself oddly interested and would like to know a little more detail.

Any chance of a link to a forum page where tou have this operating so I can look at the source and see exactly what has been added?

Mornin Andy, here is a post on ebms. Note the image that’s inserted has it’s image and alt tags edited to match the post. It’s the 1st organic Google result on a related search. Not bad.. wink

vitamix-goog.jpg

SP is perfect for short posts. There are times like this that it’s better than writing a blog post. 

Regards, Ed

YS Yellow Swordfish
Yellow Swordfish
Member

What am I missing? Apart from the prefix attribute of the html tag at the top I don’t see any meta ‘og’ tags at all in the source? Surely must be missing something…

EK Edward Koon
Edward Koon
Member

Yellow Swordfish said
What am I missing? Apart from the prefix attribute of the html tag at the top I don’t see any meta ‘og’ tags at all in the source? Surely must be missing something…

That’s what i had to remove from the forum page. Now when i social share a forum post the post gets scraped and gives up the title and description from sp post meta. An image that is in the post also gets scraped because of it’s meta matches the post. It’s a workaround since sp does not support og yet.

To get the forum page itself to properly feed the seo title to sp i used this workaround.

sp-forum-page.jpg
YS Yellow Swordfish
Yellow Swordfish
Member

No – sorry – you’ve lost me. I already said I was a dunce in this department 🙂

I was expecting to see a bunch of meta property tags such as “og:url”, “og:title”, “og:site_name”, “og:description”, “og:type”, “og:locale” etc…

EK Edward Koon
Edward Koon
Member

Unfortunately i’m not a coder and wouldn’t have a clue how to add og tag code. But i can say it’s imperative to beable to socail share simple press forum posts properly.

As it is now when sharing a forum post all that displays on the shared site is the forum page title and possibly the main forum description itself. All social sharing sites today look for open graph tags in the content being shared. With sp not having any og they grab the forum page itself.

By removing the default forum pages open graph tags, i’m forcing the sharing sites to pull the simple press post meta title and description. If an image is in that forum post it should be grabbed too.

Like i said, this is a way of getting around the forum pages og tags.

Suggested added code would be:

<meta property="og:locale" content="en_US"/>
<meta property="og:type" content="website"/>
<meta property="og:title" content="sp forum post title"/>
<meta property="og:description" content="sp post description"/>
<meta property="og:url" content="https;//yourdomain.com/"/>
<meta property="og:site_name" content="sp site name"/>
<meta property="og:image" content="https;//yourdomain.com/image.jpg"/>

With this added, simple press forum posts would be easily shared, and rank higher in seo.

Just trying to be helpful. Y’all have created a fantastic product here. Lets tweak the sharing and seo factor a tad.

Regards, Ed

EK Edward Koon
Edward Koon
Member

Yellow Swordfish said
I have it all noted!

I forgot to add. A featured image selection toggle on the create post page would be useful. Either select from a user uploaded image displayed in the forum post, or something default to simple press. Possibly if no image in the forum post, a default can be selected. 

Really appreciate all you guys help over the years wink

Regards, Ed