• Hi, I just switched themes to neoclassical and am wanting to upload a new header, as well as take out the current rotating headers. I’ve tried uploading my url image into a few different places as suggested, but the most I’ve been able to get rid of is the upper rss.

    I know this should be a simple task, but I just can’t seem to change it.

    Any suggestions on how I can do this?

    My site is

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter kacrosby

    (@kacrosby)

    https://www.bettervita.net

    Giving you my site would be helpful…;)

    wp-content/themes/neoclassical/headers/
    look for this folder and replace your images as header_1.jpg, header_2.jpg,…… header_5.jpg.
    if you want to add images more than 5 edit rotating_images.php file in theme folder.

    Thread Starter kacrosby

    (@kacrosby)

    So I was trying to find where that was last night and can’t seem to find where I should place my image url in the headers php.

    This is what is there…

    <!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 if (is_single() || is_page() || is_archive()) { wp_title(”,true); } else { bloginfo(‘description’); } ?> — <?php bloginfo(‘name’); ?></title>

    <meta name=”generator” content=”WordPress <?php bloginfo(‘version’); ?>” />

    <link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen” />
    <link rel=”stylesheet” href=”<?php bloginfo(‘template_url’); ?>/custom.css” type=”text/css” media=”screen” />
    <!–[if lte IE 7]>
    <link rel=”stylesheet” type=”text/css” href=”<?php bloginfo(‘template_url’); ?>/ie7.css” />
    <![endif]–>
    <!–[if lte IE 6]>
    <link rel=”stylesheet” type=”text/css” href=”<?php bloginfo(‘template_url’); ?>/ie6.css” />
    <![endif]–>
    <link rel=”alternate” type=”application/rss+xml” title=”<?php bloginfo(‘name’); ?> RSS Feed” href=”<?php bloginfo(‘rss2_url’); ?>” />
    <link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />

    <?php wp_head(); ?>
    </head>
    <body class=”custom”>

    <div id=”container”>
    <div id=”page”>
    <div id=”masthead”>
    <div id=”logo”> </div>
    <?php if (is_home()) { ?><h1><?php bloginfo(‘description’); ?></h1><?php } else { ?><div id=”tagline”><?php bloginfo(‘description’); ?></div><?php } ?>

    </div>
    <div id=”rotating_image”>
    <?php include (TEMPLATEPATH . ‘/rotating_images.php’); ?>
    </div>

    Any suggestion as to where I should place it?

    you dont need to edit any .php file on first step.
    you must create 5 image files (865×100 px). Filenames must be
    header_1.jpg
    header_2.jpg
    header_3.jpg
    header_4.jpg
    header_5.jpg
    and send this images to wp-content/themes/neoclassical/headers/ folder via FTP software.
    excuse me my english not good.

    Thread Starter kacrosby

    (@kacrosby)

    No worries about your english. That was crystal clear to me. I’ve managed my autofocus themed blog for over a year never using ftp – so I have no clue how to use it. Any suggestions for a user-friendly ftp download?

    you can use FireFTP plugin if you use Firefox. https://addons.mozilla.org/en-US/firefox/addon/fireftp/
    or WinSCP Portable for Windows https://portableapps.com/apps/internet/winscp_portable
    or
    Cyberduck for Macintosh https://cyberduck.ch/

    Thread Starter kacrosby

    (@kacrosby)

    Wow… I know I’m such an amateur at this, but is there no simpler way to change the header? For example www.cupcakesandcashmere.com, I would like something this simple. Is it possible to upload the image through wordpress or am I just too spoiled with autofocus?

    Maybe I should just bite the bullet and buy DIYthemes

    ok, go to AdminPanel/Appearence/Editor and find rotating_images.php and find <img src="<?php bloginfo('template_url'); ?>/headers/header_<?php echo $random_image; ?>.jpg" alt="Random header image... Refresh for more!" /> line.
    replace it with
    <img src="https://bettervita.net/wp-content/uploads/2011/05/header_<?php echo $random_image; ?>.jpg" alt="Better Vita" />
    and create 5 images as
    header_1.jpg
    header_2.jpg
    header_3.jpg
    header_4.jpg
    header_5.jpg
    and upload this images by Admin Panel/Media Editor.

    Thread Starter kacrosby

    (@kacrosby)

    Thanks for explaining it to me like I’m a 4 year old. Seriously, that’s helpful. So I managed to get rid up the image and have uploaded my header_1.jpeg but can’t figure out how to get my image up.

    What am I missing here?

    Thread Starter kacrosby

    (@kacrosby)

    I seem to be making things worse…
    https://www.bettervita.net

    open rotating_images.php file in theme editor. copy and paste this lines.

    <?php
    $random_image = rand(1,5); // the second number should equal the total number of images that you want to rotate
    ?>
    <img src="<?php bloginfo('url'); ?>/wp-content/uploads/2011/05/header_<?php echo $random_image; ?>.jpg" alt="Better Vita" />

    and upload your images again.

    Thread Starter kacrosby

    (@kacrosby)

    I got that part, and I’ve uploaded images on my wordpress media file as header_1.jpg. What else do I need to be doing?

    Thread Starter kacrosby

    (@kacrosby)

    So I’ve connected to cyberduck, installed the neoclassical folder, created and installed header_1.jpg and can’t seem to get it up. What am I doing wrong?

    send 5 image files to bettervita.net/wp-content/uploads/2011/05/ folder by CyberDuck.
    header_1.jpg, header_2.jpg, header_3.jpg, header_3.jpg, header_4.jpg, header_5.jpg

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Trouble with Neoclassical header’ is closed to new replies.