I know I have seen a way to do this some where.. Am looking..
Thread Starter
sc456a
(@sc456a)
Thanks – there are tons of posts but none that seem to address my specific issue. They usually recommend Feedburner, but as I have said that isn’t a very good option for me. I also notice that the BuzzBoost code takes a long time to load on my site, causing loading delays for each page that aren’t acceptable.
Thread Starter
sc456a
(@sc456a)
Find anything Scooby? Anyone? I know there is a way!
do you have WordPress installed in the root directory too?
What about a SpringWidget? http://www.springwidgets.com/widgets/view/355/
Not the ‘best’ suggestion, but a quick fix anyway! π
Thread Starter
sc456a
(@sc456a)
I’m looking for something that I can setup to look like the rest of my site, preferably using CSS.
Thread Starter
sc456a
(@sc456a)
This is sad…there must be some way to accomplish this! It’s such a simple task but seems to be a difficult one to find the answer for. So many people have asked and no one has ever really gotten a simple answer. There must be a way to set this up without using third party utilities!
See if this is close..
http://codex.wordpress.org/Creating_a_Static_Front_Page#Static_Page_with_Mini-Loop
Thread Starter
sc456a
(@sc456a)
This is only for use within the /wp folder (in WP itself). See the OP.
sc456a, with few modifications this code is useful for your needs. I don’t know how can I post here PHP code to show you all the code, but you need change only few lines:
At header in index.php (www.sitename.com/index.php) you need put the first piece of code and editing the path:
—-
require(‘wp/wp-blog-header.php’);
—-
and select a place to put the 5 recent posts, adding all the code and editing the path:
—–
href=\”wp/index.php?p=%s\”
—–
Best Regards,
Fantasma
Thread Starter
sc456a
(@sc456a)
Actually the code only works in the /wp directory if the require for wp-blog-header.php is not included. We’re trying to figure out an if/then statement that would work for this…
Thread Starter
sc456a
(@sc456a)
Thanks to the help of a skillful programmer I have finally found the solution in the following code:
<?php
define('WP_USE_THEMES', false);
if(substr(str_replace(basename($_SERVER['REQUEST_URI']), '', $_SERVER['REQUEST_URI']), 0, 4)!='/wp/'){
include_once('./wp/wp-blog-header.php');
}
?>
This code basically determines if the user is under the /wp/ directory and if they are doesn’t include the wp-blog-header.php files. It was all I needed and it was a nightmare to get – I hope it can help others!