Forum Replies Created
-
AuthorPosts
-
Do you have idea with the site ?
Actually, I’ve tested it on a new single article and it functions well. But in the example I gave you, it’s not working.
To generate this button, I used a homemade shortcode with a plugin “My shortcode”.
If I put the exact code in a new single article, it functions.Could somathing block it ?
Thank you if you can help me.JB
Seems to be ok now.
Ok
I’ve found a solution : put my shortcode code in the functions.php and it’s ok. If I put it in the shortcode in the tiny mce of the homepage, it doesn’t.
Nevermind.
Thand youOk thank you. I’ll try this.
Do you have a solution for the functions.php file when update of the theme ? If I update the Theme, the functions.php is replaced and all the lines inserted in it will be deleted.
Thanks
JBMarch 1, 2015 at 11:32 am in reply to: Lightbox doesn't function – Pictures open in new tabs #404054Ok.
Pb solved. I don’t understand why but the “Lightbox Modal Window” in the config had been unchecked.
Thank you for your help and sorry for this non problem !February 27, 2015 at 7:33 pm in reply to: Lightbox doesn't function – Pictures open in new tabs #403617This reply has been marked as private.Ok, sorry, you can close the topic.
I’ve found the solution.
A wrong operation had put all the article in my “extracts”…- This reply was modified 10 years, 2 months ago by JBMKL.
Ok, thank you for your help
Hello,
It’s ok like this.
The matter is that I’ll have this attribute on all buttons of my website, isnt’it ?On the Buttons.php file, can you explain me what these lines means and what is this rel=”nofollow” mentionned ?
$blank = strpos($atts[‘link_target’], ‘_blank’) !== false ? ‘ target=”_blank” ‘ : “”;
$blank .= strpos($atts[‘link_target’], ‘nofollow’) !== false ? ‘ rel=”nofollow” ‘ : “”;I’ve tried to put link_target=’nofollow’ in my code and it’s ok (without target blank)
If you think it’s ok too, can I delete codes I added in my function.php with the js and the custom class ?
- This reply was modified 10 years, 5 months ago by JBMKL.
Yes, this is when you use sthg like Webdevelopper to check the code where the code is already interpreted.
Look at the source, you’ll not see the same thing. And you’ll not see a rel=”nofollow” on the < a >. So does Google.
The adding of the attribute is conditionned to a javascript that Google won’t see. And as you probably know, rel=”nofollow” is mainly here for Google.You can find an example here : http://www.foot-actu.com/billets-football-europe/places-billets-ligue-1-france/paris-st-germain-fc/psg-bastia-samedi-16-aout-2014/
The link is the button with the anchor texte Acheter billet PSG BastiaThe div has the classe “rel-nofollow” but it doesn’t add the attribute ont the < a >
Excellent !
Thank you very much for your help and your quick answears !
JBHello,
Thank you Ismael.
Do you think it could be only an authorized parameter that I couls add in my editor ? Like this : [av_button label=’test’ rel=’nofollow’…
In order to add the attribute only when I need and not on all buttons used on the website ? -
AuthorPosts