How to exclude authors from get_pages()

https://codex.wordpress.org/Function_Reference/get_pages this function does not take exclude author args. If you want to exclude a specific author and want to display all pages. Then you can do this easily by WP_Query.

How do I add something to the “Edit Tag” page in wp-admin?

There is the in_admin_footer hook that’s right before the “Thank you for creating with WordPress.” text in the footer, you can check if you’re on a tag edit screen in that hook. function wpse_277416_admin_footer() { $screen = get_current_screen(); if ( $screen->id === ‘edit-post_tag’ ) { echo ‘Hello world!’; } } add_action( ‘in_admin_footer’, ‘wpse_277416_admin_footer’ ); That’s … Read more

Use of domain name

Yes, you can use your domain to build a website. In addition to the domain registrar, you will also need a web host. A recommendation would be far off-topic here but search for WordPress hosting, perhaps look through some reviews. I’d suggest chatting with their support team and if one stands out by answering your … Read more

Need to create a custom page on a website

First, if you want to build a custom page, the best place to look is the themes folder. If your working on a custom made theme, you can add templates to the theme folder, and use them in your site. Otherwise, it’s better to create a child theme for your customization (Childthemes). Within that new … Read more

WordPress Child theme fails to override parent theme css

I see the issue, there is a second call to main.css : <link rel=”stylesheet” id=”faxhion-css” href=”http://www.rareselect.co.uk/wp-content/themes/faxhion/main.css?ver=4.8.1″ type=”text/css” media=”all”> <link rel=”stylesheet” id=”faxhion-child-css” href=”http://www.rareselect.co.uk/wp-content/themes/faxhion-child/style.css?ver=0.1″ type=”text/css” media=”all”> <link rel=”stylesheet” id=”plugins-css” href=”http://www.rareselect.co.uk/wp-content/themes/faxhion/assets/css/plugins.css?ver=4.8.1″ type=”text/css” media=”all”> <link rel=”stylesheet” id=”fontawesome-css” href=”http://www.rareselect.co.uk/wp-content/themes/faxhion/assets/css/font-awesome.min.css?ver=4.8.1″ type=”text/css” media=”all”> <link rel=”stylesheet” id=”style-css” href=”http://www.rareselect.co.uk/wp-content/themes/faxhion/assets/css/main.css?ver=4.8.1″ type=”text/css” media=”all”> The one you are calling with id=”faxhion-css” its loading nothing its a 404 … Read more

Bolding several words at once

This is a neat idea that I think I may use too. Here’s the solution I’ve just cooked up. First, add the following to your functions.php file: /* BOLDED CONTENT */ // Affect the content after it’s retrieved and before it’s displayed add_filter( ‘the_content’, ‘bolded_content’ ); function bolded_content( $content ) { // Look for custom … Read more