why does blog page ignore template [closed]

Refer to the Template Hierarchy Codex entry. The template hierarchy for the blog posts index is as follows: home.php index.php There is no case where the blog posts index will use a page template, either the default page template or a custom page template. The determination is controlled by wp-includes\template-loader.php. Refer to Line 31: elseif … Read more

Where is the general html template file?

You should paste that code in the header.php file. Just before the closing code . And that should be done. And if it is asking for pasting the code in the template then find the specific page where you want to place it. There may be different template for different page.

How customizable is a self-hosted WordPress blog compared to a Blogger blog?

The front-end customization options in self-hosted WordPress are absolute. You can edit whatever you want in PHP/HTML templates and CSS style sheets. While WordPress comes with single theme (“Twenty Ten” at moment) the availability of third party free and paid themes for it is huge. See: Where can I download WordPress themes from? for good … Read more

files disappearing from template

I figured it out. This is because a lot of your file request are getting a 4XX, 5XX response or can’t be loaded. I started looking further and realized some of your js/css is being loaded properly. However some of it is not. The files that are not being loaded have a :443 extension to … Read more

Loop on a wordpress Page instead of content coming from the WP text editor

On your custom page template, the default loop is working and that’s why the loop is fetching content from the page. You need a custom query in this case. Here’s the code. <?php $query = new WP_Query( array( ‘post_type’ => ‘post’, ‘post_status’ => ‘publish’, ) ); if ( $query->have_posts() ) { while ( $query->have_posts() ) … Read more

Including 2 Negative Is_Template Conditionals in header.php [closed]

(Expanding on Pieter’s comment above, and explaining the logic behind it…) if() evaluates the conditions in the parentheses, and that evaluation results in either TRUE or FALSE for the sum total (which can change, depending on how the various conditions are combined). In plain English, if( !is_singular(‘device’) || !is_front_page() ) means, “If it’s either true … Read more

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