rob_870
Forum Replies Created
-
Forum: Hacks
In reply to: Restrict number of posts in a pluginLIMIT 5 works very well – thanks so much .
If I wanted to show particular category would it be CATEGORY ‘x’ ?
Forum: Fixing WordPress
In reply to: Order posts by custom fieldoh right ok I thought so. Sorry perhaps I didnt explain it properly. It would have to order posts by the event date with soonest first. As they all have different dates it wouldnt be possible to input a different meta value if you see what i mean
Thanks
Forum: Fixing WordPress
In reply to: Order posts by custom fieldright, ok my values are all different dates so what would I enter here? ‘yyyy-mm-dd’?
For example
(‘meta_key=event_date&meta_value=yyyy-mm-dd’)Thanks again
Forum: Fixing WordPress
In reply to: Order posts by custom fieldok thanks, just to check
meta key would = ‘event_date’ but what would the ‘meta value’ be?Also, this goes before the loop on index.php and page template php?
Cheers
RobForum: Hacks
In reply to: Altering the loop to show different templates on specific postsone more thing if i wanted to exclude from 2 categories would it be just (‘certain’, ‘certain1’) for example?
thanks
Forum: Hacks
In reply to: Altering the loop to show different templates on specific postsworks a treat – thank you so much for your time.
Forum: Hacks
In reply to: Altering the loop to show different templates on specific postsgreat thanks, i thought so much.
There is only one or two categories where i dont want them to show on posts. Is there a way of using this conditional tag, but stating:
If in a certain category do NOT show rather than do show? As there’s quie a few categories on the site?
Also where would this go in the following line of code?
<div class=”meta”><b>Region: </b><?php $key=”Region”; echo get_post_meta($post->ID, $key, true); ?></div>Forum: Hacks
In reply to: Altering the loop to show different templates on specific postsForum: Fixing WordPress
In reply to: Site not displaying in IEHi Zoonini
thanks for looking into it
Strange that it is showing in yours, i have IE 9 too and have checked on two other computers.
There are two issues, firstly the one like you mention (different graphics and colours showing) – this is a problem.
Secondly it isn’t showing (on mine) at all and just gettingCant find a way to post a screenshot on here, but all im getting is the top nav black ribbon and the footer background at the bottom, plus the background image – nothing else?
thanks very much
Forum: Themes and Templates
In reply to: Simple change to date format help on custom meta fieldThat’s brilliant, thanks so much! You are a legend!
rob