Hide specific category tag on single post page

For specifically post categories, you can use get_the_categories filter hook to remove certain found category (term). function filter_get_the_category( $categories, $post_id ) { // loop post categories foreach ($categories as $index => $category) { // check for certain category, you could also check for $term->slug or $term->term_id if ( ‘Featured’ === $category->name ) { // remove … Read more

apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName

By default Ubuntu doesn’t specify a ServerName in the Apache configuration, because it doesn’t know what the name of your server is. It tries a reverse lookup on your IP address, which returns nothing, so it just has to use the IP address as the ServerName. To fix it, either add a ServerName directive outside … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)