lazurus
Forum Replies Created
-
Forum: Plugins
In reply to: query_posts, name, and like. . . ugh. But thank you ??
Forum: Plugins
In reply to: Using “getRecentPosts” for a particular categoryCreate a new page.
https://www.nosq.com/2004/10/runphp-wordpress-plugin/
^— Install the runphp plugin.Set your page to eval the code.
https://mtdewvirus.com/code/wordpress-plugins/
^— Use the “Recent Posts” plugin.Forum: Fixing WordPress
In reply to: Formatting queriesAh, I understand.
Okay, if anyone is searching for this, here is the solution, nicely packaged.
1. Create a file on your local computer called single.php. Dump the following into that file:
<?php /*
Template Name: Single Page
*/
?><?php get_header(); ?>
<?php get_sidebar(); ?><div id="content">
<?php the_content(); ?>
<?php
query_posts('category_id=1&orderby=title&order=ASC&posts_per_page=-1');
if (have_posts()) :
while (have_posts()) : the_post();
?>
"><?php the_title(); ?>
<?php
endwhile;
endif; ?>
</div><?php get_footer(); ?>
Save the file and upload it to your themes dir in wp-content.
2. Create a blank page (write –> pages). Set the template to be this page.
3. Voila. It runs. Apply whatever formatting you want.
Thanks for the help Beel and Skippy.
Forum: Fixing WordPress
In reply to: Formatting queriesSweet… but…
Parse error: parse error, unexpected $ in /home/music20/public_html/wp/wp-content/plugins/runphp.php(96) : eval()a€?d code on line 5
All Reviews
Parse error: parse error, unexpected T_ENDWHILE in /home/music20/public_html/wp/wp-content/plugins/runphp.php(96) : eval()a€?d code on line 2
<b>A little more background…</b>
Using the runphp plugin to toss this on a page. All Reviews is the page title.Ta!
Forum: Fixing WordPress
In reply to: DreamHost says I have been hackedNot as bad as what canaca.com did to my site…
“We have logs that you were spamming. We have deleted all of your files and are suspending your account indefinitely.
Thank you for using Canaca.com”
They attributed it to the comments on our site – which were disabled and removed from the template. Worst hosts ever.