Display all page which have not a certain template

You can add an OR relation to the meta query and also get pages with no _wp_page_template meta key: $args = array( ‘post_type’ => ‘page’, ‘posts_per_page’ => -1, ‘order’ => ‘ASC’, ‘orderby’ => ‘title’, ‘meta_query’ => array( ‘relation’ => ‘OR’, array( ‘key’ => ‘_wp_page_template’, ‘value’ => ‘template-rubrique.php’, ‘compare’ => ‘!=’, ), array( ‘key’ => ‘_wp_page_template’, … Read more

WordPress site not loading styles on desktop?

I think that the issue is associated with the browser cache. Try clearing it. It should fix your issue. Also, you can try appending these PHP code to the .css file in the header for ruling out cache of the stylesheet: <link rel=”stylesheet” type=”text/css” media=”screen” href=”https://wordpress.stackexchange.com/questions/327486/your.css?<?php echo time(); ?>” />

How can I make custom page templates work on child theme?

Edit: I see you’ve answered your own question, but the answer you provided seems dubious to me, so I’m going to post this anyway. A child theme needs a few key elements to work: a style.css with header information (including Template: parent-theme-name), a functions.php file (where you can enqueue the parent theme’s stylesheet), and activation … Read more

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