Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

Doctype definition in header.php outdated


  #1  
Old Jun 25, 2023, 07:07 AM
extremecarver
 
126 posts · Jul 2009
Replace Line 1-5 in header.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
.......

with:
<!DOCTYPE html>
<?php
$templateURI = get_template_directory_uri();
$homeURL = get_home_url(); ?>
<html <?php language_attributes(); ?>>

The old long definition is not needed anymore and causes quirk mode. Should have been removed since IE4 is dead. Recently google started complaining about it so I noticed and changed it.
__________________
Don't settle for lousy expensive Maps - Get free Maps based on Openstreetmap with great autorouting for cyclists, hikers and Mountainbikers at http://openmtbmap.org

Last edited by extremecarver; Jun 25, 2023 at 08:09 AM.

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] DOCTYPE line appears to remove slideshow dncoltman Center area post/pages 2 Oct 11, 2010 05:28 AM
[SOLVED] Plug-in, CSS or PHP Code for Expanding Definition List in Atahualpa ? RAMilewski Atahualpa 3 Wordpress theme 1 Aug 16, 2009 02:44 AM
[SOLVED] Edit h1 definition for Font type affecting Header Title only Craig Mattice Header configuration & styling 2 May 11, 2009 07:02 PM


All times are GMT -6. The time now is 01:08 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.