Graphics
Forum Replies Created
-
Forum: Installing WordPress
In reply to: RSS feed of only one catagoryi dont know, I’ll try it and let you know.
thanx-
Forum: Installing WordPress
In reply to: RSS feed of only one catagoryexploding-boy-
I only want to supply the 1 cat. feed to other sites, does your fix mean i should make an “index2.php” page, so that I can keep the normal feed everywhere else?
Forum: Fixing WordPress
In reply to: code for including “excerpts” in headlinesBIG THANKS!
apparently the first time i tried it, it was “user error”
one or two more fixes and i’ll be stylin!Forum: Fixing WordPress
In reply to: code for including “excerpts” in headlinesboth gave this error
Parse error: parse error, unexpected T_STRING in /usr/local/apache2/vhosts/osga/feedtest.php on line 44
Forum: Fixing WordPress
In reply to: code for including “excerpts” in headlinesit didnt work, gave me MySql errors.
heres the code i am using: ( link at bottom probaby wont be written out due to the way this forum handle code)
‘<td>
<?php define(‘WP_USE_THEMES’, false);
require(‘./wordpress/wp-blog-header.php’);
?>
<div id=”content” class=”narrowcolumn”><h2>Lastest Posts:</h2>
<?php
# Here starts Mini Loop trick: You can use this code, but _at your own risk_
# If you want to improve this code, you’re welcome ??
$how_many=7; //How many posts do you want to show ?><ul align=’left’>
<?
$news=$wpdb->get_results(“SELECT ID,post_title FROM $wpdb->posts
WHERE post_status = \”publish\” ORDER BY ID DESC LIMIT “.$how_many);
foreach($news as $np){
printf (“<li align=’left’>%s“, $np->ID,$np->post_title,$np->post_title);
}?></div>
</td>’Forum: Fixing WordPress
In reply to: code for including “excerpts” in headlinesi hate to sound stupid…
but to php i am.
where would i place
either of these tags to make them work, in accordance with the code i am using?Forum: Fixing WordPress
In reply to: html to php tag equivalentsTake a look at my earlier post “I’m Sooooo close…”
Its only a few down the list.essentially, the mini-loop code i got from the Codex creates a list, but its justified “center”
and i wanted it justified “left”more importantly, i had to IFRAME the php page i put the mini-loop code in, cause my static page wasn’t accepting the php code itself, but the headline links all open in the
IFRAME window, not a new window, like i need.i tried to use the html align and target tags, but they don’t work , all i see when i refresh the static page is an error message
Forum: Fixing WordPress
In reply to: I’m SOOO Close – PLEASE HELPhad to pull the “<a” out of the link
Forum: Fixing WordPress
In reply to: I’m SOOO Close – PLEASE HELPSTILL F_UP one more time
<td>
<?php define(‘WP_USE_THEMES’, false);
require(‘./wordpress/wp-blog-header.php’);
?>
<div id=”content” class=”narrowcolumn”><h2>Lastest Posts:</h2>
<?php
# Here starts Mini Loop trick: You can use this code, but _at your own risk_
# If you want to improve this code, you’re welcome ??$how_many=7; //How many posts do you want to show ?>
<ul class=”whats-new”>
<?
$news=$wpdb->get_results(“SELECT ID,post_title FROM $wpdb->posts
WHERE post_status = \”publish\” ORDER BY ID DESC LIMIT “.$how_many);
foreach($news as $np){
printf (”- href=\”bloghome.htm?p=%s\”>%s
“, $np->ID,$np->post_title);
}?></div>
</td>
Forum: Fixing WordPress
In reply to: I’m SOOO Close – PLEASE HELPSorry!! the code f-up when I pasted it in,
heres the code:<td>
<?php define(‘WP_USE_THEMES’, false);
require(‘./wordpress/wp-blog-header.php’);
?>
<div id=”content” class=”narrowcolumn”><h2>Lastest Posts:</h2>
<?php
# Here starts Mini Loop trick: You can use this code, but _at your own risk_
# If you want to improve this code, you’re welcome ??$how_many=7; //How many posts do you want to show ?>
<ul class=”whats-new”>
<?
$news=$wpdb->get_results(“SELECT ID,post_title FROM $wpdb->posts
WHERE post_status = \”publish\” ORDER BY ID DESC LIMIT “.$how_many);
foreach($news as $np){
printf (”- %s
“, $np->ID,$np->post_title);
}?></div>
</td>
Forum: Fixing WordPress
In reply to: posting latest posts outisde of wordpressI would like to do the same thing, but my homepage isn’t php, just html
what code do I USE?