clowride VIP
Total posts: 1,022
29 May 2017 21:49

Hello for a record i would like to add a word just before the title example : playstation 4 - final fantasy my problem is i would like "playstation 4 be visible by search engine BUT NO for people" people would only see final fantasy how can i do please ? thank you very much best regards

Last Modified: 31 May 2017


pepperstreet VIP
Total posts: 3,837
30 May 2017 21:04

Maybe putting the "playstation 4" inside HTML SPAN-tag with CSS class to hide it from browser display?

.hidden {
display: none;
}

If your site makes use of bootstrap CSS, there might be some ready-made utility classes.

As far as I can read, hidden text by CSS is indexed by search engines.
Apparently there is no penalty, as long as you do not have the intention to manipulate the ranking through massive keywords etc.
- Does the Google Bot index css hidden divs?
- Does Google crawl CSS ‘Display:None’ content?


clowride VIP
Total posts: 1,022
30 May 2017 21:08

thank you , i thought the display:none but does not work :-(


clowride VIP
Total posts: 1,022
30 May 2017 21:09

i use composite title and it does not work with that :-)


pepperstreet VIP
Total posts: 3,837
31 May 2017 00:57

I remember I have seen something like this in "Downloads Pack" and Composite Title. 138 is a Status Select field. It renders in bootstrap badge style. So, HTML should be no problem.

[143] - [136] <span class="badge">[138]</span>

I have also tried to hide the first field of the title:

<span class="hidden">[143]</span> - [136] <span class="badge">[138]</span> 

It works!

file

file


Make sure you edit and save the record!


Giorgi625 VIP
Total posts: 655
31 May 2017 08:58

If your hidden text must be changed depending on record you can just create text field and in template file call that field in front of title using hidden class.


clowride VIP
Total posts: 1,022
31 May 2017 16:58

thank you very much for yours greats advices, i could manager something great :-)

Powered by Cobalt