How can I add category variable inside posts?

You can use get_the_category_list(), which returns a list of categories assigned to the post (each category in the list links to the category archive): printf( ‘<span class=”posted-on”>last updated on %1$s</span><span class=”byline”> <i class=”fa fa-user”></i> %2$s</span> in %3$s’, sprintf( ‘<a href=”https://wordpress.stackexchange.com/questions/338246/%1$s” rel=”bookmark”>%2$s</a>’, esc_url( get_permalink() ), $time_string ), sprintf( ‘<span class=”author vcard”><a class=”url fn n” href=”https://wordpress.stackexchange.com/questions/338246/%1$s”>%2$s</a></span>’, esc_url( … Read more

How can I delete the word `Category:` from page titles? [duplicate]

For achieve this title you need to extend get_the_archive_title . here is how or check the official doc function wpse64458_get_the_archive_title($title){ if ( is_category() ) { $title = single_cat_title( ”, false ); } elseif ( is_tag() ) { $title = single_tag_title( ”, false ); } return $title; } add_filter( ‘get_the_archive_title’, ‘wpse64458_get_the_archive_title’);

Client viewing before deployment

there is a lot of plugins where you can make all modifications on your theme, plugins and only logged users will see those changes, so you could show your client while for not logged in users will see “Maintenance” or “Soon” mode. Also you can make a authentication log in system on your host “If … Read more