jerryz
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: “Page Template” Not Showing Up In “Write Page”O.K., here is what was wrong. I had my ftp program copy my page.php file remotely and then I renamed and pasted remotely. For some reason, this did not work (permissions were fine).
I created a new php document with the above code, saved it locally and the uploaded to the ftp site.
Worked fine!
Forum: Fixing WordPress
In reply to: “Page Template” Not Showing Up In “Write Page”Here is what I have:
<?php
/*
Template Name: Amazon aStore
*/
?>
<iframe src=”http://astore.amazon.com/jerryzigmontblog-20″ width=”90%” height=”4000″ frameborder=”0″ scrolling=”no”></iframe>
<?php get_footer(); ?>Forum: Fixing WordPress
In reply to: “Page Template” Not Showing Up In “Write Page”It’s there-
Theme is DarkChoco – see pic
http://myskitch.com/jerry_zigmont/jerry_zigmont-20071104-100352/
Forum: Fixing WordPress
In reply to: Invalid XHTML 1.1 Error …How Do I Fix?Thank you, again. I took your advice and added the first line.
I will go back and work on some of the previous code and use Vipers Quciktags.
Best wishes
Forum: Fixing WordPress
In reply to: Invalid XHTML 1.1 Error …How Do I Fix?Thank you for your reply.
I added that bit of code, but if I go to the
Markup Validation ServiceThe very first error I get is the following. How do I fix this glaring error?
1. Warning Conflict between Mime Type and Document Type
The document is being served with the text/html Mime Type which is not a registered media type for the XHTML 1.1 Document Type. The recommended media type for this document is: application/xhtml+xml
Using a wrong media type for a certain document type may confuse the validator and other user agents with respect to the nature of the document, and you may get some erroneous validation errors. How to fix this problem? One of the following techniques should help:
* If you are serving a static file on a Web server, changing its extension should help. Use e.g .xhtml for XHTML or .mathml for MathML.
* You may need to reconfigure your Web server. This Setting up MIME Types tutorial has instructions for Apache, Tomcat and IIS.
* If the document is generated dynamically, the scripting language should allow you to set up the mime type: this article on MIME Types and Content Negotiation has examples in PHP, Perl, and ASP.