Forum Replies Created

Viewing 15 replies - 61 through 75 (of 83 total)
  • Thread Starter Versipellis

    (@versipellis)

    Yes I do, the rollover image is not showing at all.

    Thread Starter Versipellis

    (@versipellis)

    Static home page, so I’ve set it up in the dashboard settings. And then using the page section in the dashboard, put my code in there.

    Thread Starter Versipellis

    (@versipellis)

    Still looking for help in showing all and not a summary,

    Versi

    Thread Starter Versipellis

    (@versipellis)

    <phpcode>
    <?php
    include_once(ABSPATH.WPINC.'/rss.php'); // path to include script
    $feed = fetch_rss('http://www.evolutionbusinessservices.co.uk/charlene/blog/?feed=rss2'); // specify feed url
    $items = array_slice($feed->items, 0, 1); // specify first and last item
    ?>
    
    <?php if (!empty($items)) : ?>
    <?php foreach ($items as $item) : ?>
    
    <h2><a href="<?php echo $item['link']; ?>"><?php echo $item['title']; ?></a></h2>
    <p><?php echo $item['description']; ?></p>
    
    <?php endforeach; ?>
    <?php endif; ?>
    </phpcode>

    I’m now using the following if anyone can help me make this show an entire entry and not a summary I’d be very grateful 🙂

    Thanks,

    Versi

    Thread Starter Versipellis

    (@versipellis)

    Found something thats working but not quite how I want, I’ll see if I can get it to run better.

    Thread Starter Versipellis

    (@versipellis)

    That link lead me to a tonne of stuff that isnt really related to the question I asked as none of it seems to do what I want, I have searched for a plugin to no avail, I did say so in my first post 🙁

    Versipellis

    (@versipellis)

    have u tried looking at the w3c standards?

    w3schools

    Thread Starter Versipellis

    (@versipellis)

    I’m still looking for help with this – I tried getting it to work as:

    <?php
    
    define('WP_USE_THEMES', false);
    require('./blog/wp-load.php');
    
    echo "<img scr='" bloginfo('template_url') "'/images/image /">;
    
    ?>

    But that didnt work either (came one of the suggested links) I’m not new to php at all but I am new to wordpress and I don’t know where these functions are hidden to call them up.

    Thread Starter Versipellis

    (@versipellis)

    No I can call the file fine within the theme. Let me try explaining again:

    I have a theme. The theme has standard header/index/sidebar/footer files.

    I want to add to this list another php file for some images which may get changed at a later date and rather than hard code them into the index I’d like to make another file.

    So my theme folder now has header/index/sidebar/footer/sideimages php files. What I want to do is use:
    <?php bloginfo('template_url') ?>

    I want to be able to use the bloginfo function within my new php file but I keep getting a parse error. What I’m asking is what do I need to include/require in my new page to get the wordpress functions to be recognised.

    So I want to make my page something like:

    <?php
    
    echo "<img scr='" bloginfo('template_url') "/images/image' />";
    echo "<img scr='" bloginfo('template_url') "/images/image' />";
    echo "<img scr='" bloginfo('template_url') "/images/image' />";
    
    ?>

    But I just get a parse error and therefore nothing loads.

    Thread Starter Versipellis

    (@versipellis)

    Neither of what you suggested worked.

    I just want to have the file called – like you do a standard side bar- and utilise the shortcut codes for linking / filepathing.

    is there not a functions file I can just include?

    Thread Starter Versipellis

    (@versipellis)

    Its a file for the theme, I want to use it within an image and a link so:

    echo "<img scr='" bloginfo('template_url) "/images/image' />";

    Thread Starter Versipellis

    (@versipellis)

    Thanks it was in the index.php – took it out for now and its cleared up the bottom of my pages! 🙂 Thank you kindly.

    Versi

    Thread Starter Versipellis

    (@versipellis)

    Ahh the site is currently on a WAMP or I’d have included a link.

    I don’t think it has a ‘page.php’ it was based on the pages that the Classic theme has. I only made my pages with those page names found in the classic.

    Thread Starter Versipellis

    (@versipellis)

    The site has specific images for a side navigation each one needs to lead to a specific page or set of posts.

    Thank you for your help.

    Thread Starter Versipellis

    (@versipellis)

    Ok thank you for the information.

    Would it be possible to set the links using premade images in the side bar as well? Just with a modified <a href=""><a> ?

Viewing 15 replies - 61 through 75 (of 83 total)