Astra theme: You may have noticed changes in σελίδα of iGuRu.gr. Yes, that's right, because we changed the theme. We were using it genesis with one custom child, while now we use the Astra, with a custom child as well.
We chose the Astra theme because it is light, fast with many customization options, but also because it is SEO friendly. As for the configuration, we changed the lights, with an add-on code php and css to bring it more or less to the look of the old Genesis theme.
One of the changes we made to the Astra as soon as we first tried it was to unlink the user from the posts, as we consider it an additional security risk.
What I mean:
Almost all WordPress themes have a link to the author of each post. This link leads to a page with all the articles of the author. But it displays the login name publicly.
for example
https://iguru.gr/author/to_onoma_syndesis/
Why is it a risk? All WordPress websites have one default login page, which if you know it you can easily carry out brute force attacks. This particular link makes things easier for the hacker as it gives him the columnist's login name on the plate. So she should only look for him code access.
So because we have as a starting point to make things a little more difficult for any would-be hacker in all our themes we disable this link.
Let's see how it is done in Astra.
Add the following code to the functions.php of the child you are using:
add_filter ('astra_post_author_output', 'call_back'); function call_back () author $ author_info_array = sprintf (' 'posted-by vcard author',)); echo '>'; // Translators: Author Name. ?> 'url fn n',)); ?>> 'author-name',)); ?>>', sprintf (' ', esc_html __ (' About The Author ',' astra-addon '), get_avatar (get_the_author_meta (' email '), 100),' ', esc_html (get_the_author ()), wp_kses_post (get_the_author_meta (' description ')), astra_attr ('author-url-info', array ('class' =>' ',)), astra_attr (' author-name-info ', array (' class' => '',))), astra_attr ('author -item-info ', array (' class' => '',)), astra_attr ('author-desc-info', array ('class' =>' ',))); return $ author_info_array; } add_filter ('astra_post_author', 'author_call_back', 15); function author_call_back () {ob_start (); echo '