Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
mf_srls
tagDiv Member

Actually, I’ve found a solution that maybe could useful even for other users.
A simple function can be added to functions.php file, a kind of

add_action(‘wp_head’,’SOFT_manage_robots’);
function SOFT_manage_robots(){
if(is_singular(‘attachment’) )
$html= “<meta name=\”robots\” content=\”noindex,follow\”>”.PHP_EOL;
echo $html;
}

Obiouvsly it’s better to do before a child theme.

mf_srls
tagDiv Member

Is it enough to install classic editor plugin?

mf_srls
tagDiv Member

Interesting thread, I’ll follow up in case of updates.

mf_srls
tagDiv Member

Thanks Catalin, but those screencasts are captured in 2016, code could be changed, in fact I can’t find these codelines in td_config file.

mf_srls
tagDiv Member

I’m not sure I get. Do you mean edit css from “/wp-admin/theme-editor.php”? In that case as I said before I’ve already did all the changes on my child theme style.css Or maybe you mean “site/wp-admin/customize.php”? In that case it don’t seem to be set there.
At the moment it works only choosing “Open Sans” from Newspaper Theme Panel, but I’d like to choose my favourite font once for all instead of Roboto or at least understand where that font come from.
Thanks anyway for your answer, very kind.

Edit: Updates! Pages seem don’t work at all, they always show roboto even if I set it up on open sans. Bof, bof, bof…

  • This reply was modified 7 years by mf_srls.
mf_srls
tagDiv Member

Thanks Simon, I’ve just tried and it works fine. Just another suggest if you can. I’m going to get a child theme, does it work at the same? Anyway, now I try.

Viewing 6 posts - 1 through 6 (of 6 total)