• I want to display a text box of HTML code but not have it run by the page once I post it, understand? I can’t figure it out. Running latest version of WP.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Yeah, I use one of those, but if you don’t want to install a plugin, then just convert all < and >’s to & lt; and & gt;‘s (remove the spaces).

    Thread Starter nickmanderfield

    (@nickmanderfield)

    I tried putting it in the form of an input box so it wouldnt be modified and it wouldnt let me do it correctly even using the & gt; code

    I don’t know how to change the header images on different “pages” or upload pictures. When i try to upload pictures it asks me if my upload folder is writable. I don’t know how to make it writable. Also, I’ve read a lot on how people include <?else if php page”2″> or something like that but my header image is driven by css. Help!

    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;
    <html xmlns=”https://www.w3.org/1999/xhtml”&gt;

    <head profile=”https://gmpg.org/xfn/11″&gt;

    <meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />

    <title><?php bloginfo(‘name’); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>

    <meta name=”generator” content=”WordPress <?php bloginfo(‘version’); ?>” /> <!– leave this for stats –>

    <?php if (eregi(“MSIE”,getenv(“HTTP_USER_AGENT”)) || eregi(“Internet Explorer”,getenv(“HTTP_USER_AGENT”))) { ?>
    <link rel=”stylesheet” type=”text/css” href=”<?php bloginfo(‘stylesheet_directory’); ?>/style-ie.css”/>
    <?php } else { ?>
    <link rel=”stylesheet” type=”text/css” href=”<?php bloginfo(‘stylesheet_directory’); ?>/style.css”/>
    <?php } ?>

    <link rel=”alternate” type=”application/rss+xml” title=”RSS 2.0″ href=”<?php bloginfo(‘rss2_url’); ?>” />
    <link rel=”alternate” type=”text/xml” title=”RSS .92″ href=”<?php bloginfo(‘rss_url’); ?>” />
    <link rel=”alternate” type=”application/atom+xml” title=”Atom 0.3″ href=”<?php bloginfo(‘atom_url’); ?>” />
    <link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />

    <style type=”text/css” media=”screen”></style>

    <script language=”javascript” type=”text/javascript”>
    function resetSearchText()
    {if (“search…”==document.searchform.s.value){document.searchform.s.value = “”;}}
    </script>

    <?php wp_get_archives(‘type=monthly&format=link’); ?>

    <?php wp_head(); ?>

    </head>
    <body>
    <div id=”headerimg”>
    <div id=”topbar”>
    <div class=”nav”>|  “>Home  |  
    Classes   |  
    Ideas Cafe  |  
    Horsefly Magazine   |  
    Faculty  |  
    Refund Policy  |  
    Contact  |   </div>
    <div class=”searchform”></div>
    </div>
    </div>

    <div id=”page-top”><div id=”page-bottom”><div id=”page”>

    This is what my header code looks like and I don’t know where to put the code everyone is talking about to change the header images. any help would be much appreciated.

    Jazmine

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Displaying HTML code but not exec. it’ is closed to new replies.