Versipellis
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: roll over image issueYes I do, the rollover image is not showing at all.
Forum: Fixing WordPress
In reply to: roll over image issueStatic 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.
Forum: Fixing WordPress
In reply to: Embed RSS into a PageStill looking for help in showing all and not a summary,
Versi
Forum: Fixing WordPress
In reply to: Embed RSS into a Page<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
Forum: Fixing WordPress
In reply to: Embed RSS into a PageFound something thats working but not quite how I want, I’ll see if I can get it to run better.
Forum: Fixing WordPress
In reply to: Embed RSS into a PageThat 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 🙁
Forum: Themes and Templates
In reply to: how do you specify an image in css instead of a color setting?have u tried looking at the w3c standards?
Forum: Fixing WordPress
In reply to: using template tagsI’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.
Forum: Fixing WordPress
In reply to: using template tagsNo 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.
Forum: Fixing WordPress
In reply to: using template tagsNeither 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?
Forum: Fixing WordPress
In reply to: using template tagsIts 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' />";Forum: Fixing WordPress
In reply to: static pages – removing generated codeThanks it was in the index.php – took it out for now and its cleared up the bottom of my pages! 🙂 Thank you kindly.
Versi
Forum: Fixing WordPress
In reply to: static pages – removing generated codeAhh 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.
Forum: Fixing WordPress
In reply to: 1 blog per specific pageThe 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.
Forum: Fixing WordPress
In reply to: 1 blog per specific pageOk 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>?