sincewelastspoke
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Displays post info on Home Page, but nowhere else :(It is included OK, I mean it displays all the other content of ‘test.php’ across the pages of my site, it just doesn’t like to show the snippet of the post ??
So instead of:<? include('test.php'); ?>
I should use :<?php include (TEMPLATEPATH . "/test.php"); ?>
?Forum: Fixing WordPress
In reply to: Displays post info on Home Page, but nowhere else :(So there is no way around this, displaying posts on a page?
Surely it has been done in the past?
Anyone???
Forum: Fixing WordPress
In reply to: Displays post info on Home Page, but nowhere else :(… ??
Forum: Fixing WordPress
In reply to: Displays post info on Home Page, but nowhere else :(OK.
The ‘every page’ bit wasn’t particularly essential info, the fact is it won’t work on ‘page.php’ which every WP page uses on my site and IT DOES work on ‘index.php’ and ‘archive.php’.
Is there any reason for this?>> You will need to provide way more info than that…
What else do you need?Forum: Fixing WordPress
In reply to: Code only works on Home Page?Update
It seems to only work when I’m in an ‘archive.php'(like the category(?cat=4)) or the home page itself. Every other page it doesn’t want to work for me ??Can anyone assist?
Forum: Fixing WordPress
In reply to: Code only works on Home Page?Can anyone else help with this?
The script above is stored in an include file, which is included in ALL pages, just to make it easier to modify across the whole site.
It displays the news item on the home page, but nowhere else.
Can’t think at all why this could be happening.Does this part look for the RSS feed in my HEAD code?
<?php the_content_rss('', TRUE, '', 10); ?>
Any advice would be great.
Forum: Fixing WordPress
In reply to: Increase height of Page ‘Visual’ box?You’re right. Think I’ll spend more time going around WP ??
Forum: Fixing WordPress
In reply to: Code only works on Home Page?There was one originally for including a sifr.js link, but it’s out now.
It makes no sense at all.
I’m looking at the output source code and comparing the ‘Home Page’ with one of the other pages, and there’s no difference really.
Forum: Fixing WordPress
In reply to: Code only works on Home Page?Does anyone know why the above code only works on my home page.
Thanks for looking ??
Forum: Fixing WordPress
In reply to: Quicker way of doing this?Anyone?
Would really appreciate help on this.
Forum: Fixing WordPress
In reply to: Post equivalent of is_page() ?Cool. Thanks.
And if I want to have it so it lists it if the post is in a range of between 172 and 180, how could this be done?
if is_single(array(‘172′,’180’)) {
Something like that?
Forum: Fixing WordPress
In reply to: Quicker way of doing this?Anyone? Bueller?
Forum: Fixing WordPress
In reply to: How to set WP config file to point to new domain?I’d probably create an htaccess file in your root directory.
Redirect /index.php https://www.newsite.com
Or maybe
RedirectMatch .* https://www.newsite.com
This is useful resource for all things 301……… https://www.gnc-web-creations.com/301-redirect.htm
Forum: Fixing WordPress
In reply to: I can’t insert images (haven’t felt this noob in a while)On my 2.6 installation, there’s a list of icons to the left of the ‘Visual’ tab basically, it says ‘Add Media’.
It’s odd it’s not on yours from your first screengrab you posted which is odd.
Forum: Fixing WordPress
In reply to: If is_page or is_parent_of ?<?php global $wp_query; if( empty($wp_query->post->post_parent) ) { $parent = $wp_query->post->ID; } else { $parent = $wp_query->post->post_parent; } echo $parent; wp_list_pages("title_li=<h2>Subpages</h2>&child_of=$parent"); ?>
RESOLVED….Sorta