Tagline showing instead of meta description!

Currently you have two meta description tags on your site. If you view the source or use an inspector, you can see the duplicates for yourself. As to where they’re coming from, there are two possibilities. Themes and plugins can both output the final rendered code of your site. So, to figure out where the … Read more

Only show sub-category

You can make use of the get_the_categories filter to remove the parent categories from the list. the_category() uses get_the_category_list() which in turn uses get_the_category() The idea is to check the categories returned against an array of parent ids and then removing those categories from the list. You can try the following (Requires PHP 5.3+) add_filter( … Read more

yoast seo plugin – remove bulk title and description editor menu from non-admins [closed]

Yoast SEO uses capabilities (WordPress docs on roles and capabilities) to determine whether users are allowed to bulk edit tiles and descriptions. The name of the capability used for this is wpseo_bulk_edit. By default, Yoast SEO adds this capability to the administrator, editor, author and contributor roles. To remove this capability from all roles except … Read more

Why I can not modify the appereance of my title web site in google? [closed]

You can’t force Google to use your title, they may change it in their SERPs: […] we have algorithms that generate alternative titles […] Google’s generation of page titles and descriptions (or “snippets”) is completely automated and takes into account both the content of a page as well as references to it that appear on … Read more

Overwriting yoast’s og:meta output?

Use the wpseo_opengraph_title filter: function wpse_187763_wpseo_opengraph_title( $title ) { if ( is_singular() && $post = get_queried_object() ) { if ( $_title = get_post_meta( $post->ID, ‘custom_field_key’, true ) ) $title = $_title; // Override title with custom meta title } return $title; } add_filter( ‘wpseo_opengraph_title’, ‘wpse_187763_wpseo_opengraph_title’ ); Update: The single = is intended, since we’re assigning … Read more

Missing content on author archive page

Fixed. I used code: <div class=”panel callout radius”> <?php echo get_avatar( get_the_author_meta( ‘user_email’ ), ’96’ ); ?> <div class=”right”> <a href=”https://twitter.com/<?php the_author_meta( ‘twitter’ ); ?>” target=”_blank”><i class=”fi-social-twitter size-24″></i></a>&nbsp; <a href=”<?php the_author_meta( ‘facebook’ ); ?>” target=”_blank”><i class=”fi-social-facebook size-24″></i></a>&nbsp; <a href=”mailto:<?php the_author_meta( ’email’ ); ?>”><i class=”fi-mail size-24″></i></a> Then I found out this function could only be used … Read more