braisbyi
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: PHP CodingHi Ryan,
Many thanks for the pointer, I cut and pasted the second example with the number argument but when I run this I get the following;
Recent Posts
‘5’ ); $recent_posts = wp_get_recent_posts( $args ); foreach( $recent_posts as $recent ){ echo ‘•’ . $recent[“post_title”].’
‘; } ?>It’s almost as if there is a problem with the code except I cut and pasted it.
I also have this code just above;
<base href=”http://www.1066gym.co.uk”>
<?php
// Include WordPress
define(‘WP_USE_THEMES’, false);
require(‘./wordpress/wp-load.php’);
require(‘/wordpress/wp-blog-header.php’);
?>Any help would be appreciated
IanForum: Fixing WordPress
In reply to: Only show specific category on startupI think I need to get my eyes fixed, after going through this again I notice that I had left a “\” at the front of my src, after removing this it now works of a fashion, all I need to do now is hide the title as it comes up with the title from the main database, this shouldn’t be too much of a problem though as I can hide this using the z-index underneath the new title put out from the parent program.
Many Thanks Seacoast
Ian
Forum: Fixing WordPress
In reply to: Only show specific category on startupOK “Seacoast” I have done some playing around with the code and see your point regarding the URL “http://1066gym.co.uk/wordpress/category/results/”, this works perfectly when it is typed directly in to the browser but when I put in into the src of an I-frame I get the message “Page Not Found”?
Looks like its going to be a long night.
Many thanks for the help “Seacoast”
Ian
Forum: Fixing WordPress
In reply to: Only show specific category on startupSorry, I obviously didn’t frame my question very well, at the moment I have a standard HTML website, on the index.shtml page I have an iframe to run wordpress (src=”/wordpress/index.php”) I now need a second HTML page to run wordpress which will access the same wordpress database but only pulling out postings which have a category “Results”.
Can I just attach a parameter to the I-frame which only pulls out the posts which have been flagged with the category “Reports”
Forum: Fixing WordPress
In reply to: embed in HTMLalchymyth, what can I say it works a dream, many thanks for looking at this. My fault realy as I introduced the index to solve an earlier problem and then when the customer asked me to put the blog in to the web pages I just didnt consider the css changes.
Once again many thanks for the help.
Ian