found a really weird issue related to the custom read more content and User roles.
Site is bilingual using qTranslate and I needed 2 separated "continue reading" lines...
Using the exec-php plugin (and thanks to another post in this forum section) I was able to set this:
PHP Code:
<?php if ( function_exists('qtrans_getLanguage') && qtrans_getLanguage()=="it") { ?>
<p>Leggi il resto di <a href="%permalink%"> %title% </a> per <a href="%permalink%#Altre%20Foto" rel="nofollow">altre foto</a> e <a href="%permalink%#Pedigree" rel="nofollow">Pedigree</a></p>
<?php } else { ?>
<p>Continue reading <a href="%permalink%"> %title% </a> for <a href="%permalink%#More%20Photos" rel="nofollow">more photos</a> and <a href="%permalink%#Pedigree" rel="nofollow">Pedigree</a></p>
<?php } ?>
Finally I realized the only posts showing the proper line where the ones written by administrative roles, while the other user's , with editor role, didn't execute the php IF.
I'm not sure if this is an issue related to Atahualpa or exec-php .
Anyway, since I can't assign the admin role to my editor (she's quite unexperienced and might f*** up the whole site in no time), is there an alternative, hardcoded way to add my custom read more?
Gave it a quick look, and seems bfa_post_parts.php is the file to work on.
Where should I insert the code, in that case? would shortcodes work?
edit: well, either hardcode my IF statement in the bfa_post_parts.php or place it in post_footer_multi so that it could execute php...