Do I really need the div class entry?

No specific markup is required in a theme. The only exception are themes published on wordpress.org, they have to follow the guidelines. And even there, <div class=”entry”> is not required. The only parts you have to use are these: while ( have_posts() ) { the_post(); print ‘<h2>’ . get_the_title() . ‘</h2>’; the_content(); wp_link_pages(); }

How do I deque the default stylesheet?

You did call the header twice in your page-static.php. You can remove the second call (before the_post()). If you remove the second call of the_header(), the Stylesheet should not be delivered anymore. <?php /* Template Name: Static Page */ ?> <?php wp_dequeue_style( ‘style’ ); ?> <?php get_header(‘custom’); ?> <?php the_post(); ?><!– this enables the page … Read more

Get url from file uploaded in Media Library

If understand your question correctly, I think this can get the job done. Use get_attachment_link instead of wp_get_attachment_url and then echo the title. <?php $attachment_id = 2582; $attachment_page = get_attachment_link( $attachment_id ); ?> <a href=”https://wordpress.stackexchange.com/questions/255020/<?php echo $attachment_page; ?>”><?php echo get_the_title($attachment_id ); ?></a>

How to make unique add_filter to the_content of specific page template files – so each template gets its own addition

You can get the name from the global $template. I don’t know of a way to get it with an API call instead of a global, but such is life. function floridacontent( $content ){ global $template; $name = basename( $template, ‘.php’ ); if( ‘page-florida’ == $name ){ $content .= ‘Forida added content’; } return $content; … Read more

page-slug goes to not found

A template is not a page you can load directly. A template is used for the formatting (‘building’) of a ‘page’ (created via Page, Add) or ‘post’ (created via Post, Add). On that page/post editing page, there is a place to specify the template that the WP will use when the page is output. There … Read more

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