mrcardinal
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Show all tags on my pageI have been searching for information on how to go this and finally did it- so I wanted to share it.
Following the information in the codex, I made a page template file called “tag.php” and uploaded it to the theme’s directory. I copied single.php to get the tag page template match the rest of the site, added the tag cloud code:
<?php /* Template Name: Tag Archive */ ?> <?php get_header(); ?> <?php global $options; foreach ($options as $value) { if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); } } ?> <div id="outer-column-container"> <div id="inner-column-container"> <div id="source-order-container"> <div id="middle-column"> <div class="inside"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="navigation"> <div class="older"><?php previous_post_link('« %link') ?></div> <div class="newer"><?php next_post_link('%link »') ?></div> </div> <div class="post" id="post-<?php the_ID(); ?>"> <!--<div class="calendar"> <div class="calendar1"><?php the_time('M') ?></div><div style="clear:left"></div> <div class="calendar2"><?php the_time('j') ?></div><div style="clear:left"></div> <div class="calendar3"><?php the_time('Y') ?></div><div style="clear:left"></div> </div> <div class="vert1"><div class="vert2"><div class="vert3">--><h2 style="line-height: 1.2em;"><?php the_title(); ?></h2><!--</div></div></div>--> <div style="clear: left;"></div><div class="entry"> <?php the_content('<p class="serif">More »</p>'); ?> <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> </div> </div> <?php endwhile; else: ?> <p>Sorry, no posts matched your criteria.</p> <?php endif; ?> </div> </div> <div id="left-column"> <div class="inside"> <?php get_sidebar(); ?> </div> </div> <?php wp_tag_cloud('number=1000&smallest=10&largest=28'); ?> <div class="clear-columns"><!-- do not delete --></div> </div> <div id="right-column"> <div class="inside"> <?php include ('sidebar2.php'); ?> </div> </div> <div class="clear-columns"><!-- do not delete --></div> </div> </div> <?php get_footer(); ?>
My tag cloud on this page:
https://lighthousealliance.org/site/?page_id=2709
is being displayed using this code:
<?php wp_tag_cloud(‘number=1000&smallest=10&largest=28’); ?>To make this page, all you do is go to write a page, select “Tag Archive” as the template, give the page a title, and leave the page empty.
Forum: Fixing WordPress
In reply to: How do I get widgets to lineup side by side within the same sidebarThere are two right sidebars- like on this theme
https://wp-themes.com/amazing-grace/Forum: Fixing WordPress
In reply to: Only show posts from a particular category on homepage.On the I administer- https://www.LighthouseAlliance.org, I have all the blogs the pastor posts show up on the home page, but I exclude “Sermon” posts from the home page by using this plugin:
https://www.ads-software.com/extend/plugins/advanced-category-excluder/You can install this plugin and exclude every category from showing on the home page except for the one you want, while having all your posts show in the archive (or you can have them hidden from there, too, if you want).
Forum: Fixing WordPress
In reply to: How to delete revisions once a post is final?https://www.lancelhoff.com/2008/08/15/how-to-disable-or-turn-off-wordpress-post-revisions/
You can add this line to your config.php to turn off revisions completely
define(‘WP_POST_REVISIONS’, false);I did this because I was constantly updating revisions, too, and they were eating away at my database.
I still had the problem of all those extra revisions left in my database, though. I ran this in phpMyAdmin to get delete all the revisions:
DELETE a,b,c
FROM wp_posts a
LEFT JOIN wp_term_relationships b ON (a.ID = b.object_id)
LEFT JOIN wp_postmeta c ON (a.ID = c.post_id)
WHERE a.post_type = ‘revision’Forum: Fixing WordPress
In reply to: Setting a page as my home pageYou should see a setting under Reading Settings that says “Front Page Displays”. The only thing I can suggest to you is to try a different browser. Sometimes I see and can do different things in IE and Mozilla Firefox.
Here is another way- although you would have to move your blog. I administer https://www.lighthousealliance.org and I have the actual blog at https://www.lighthousealliance.org/site
The index.html in the root directory for https://www.lighthousealliance.org is an auto-refresh page that sends people to https://lighthousealliance.org/site/?page_id=116
I did those so I could differentiate between returning visitors to the site (who have bookmarked https://lighthousealliance.org/site) and new users who get to the site by typing in https://lighthousealliance.org
Forum: Fixing WordPress
In reply to: How to know who is subscribing to my blog?What are you using to have people subscribe to your blog? I use this on the site I administer and it tells me who subscribe to the blog and which categories they subscribe to: https://www.ads-software.com/extend/plugins/post-notification/
Forum: Fixing WordPress
In reply to: Is there a word count limit to your posts?I have a post with 6,553 words on the site I administer-
https://lighthousealliance.org/site/?p=537Do you have an excerpt for this 5,000+ word post? I recently edited this post and had trouble saving it just like you. I have a plugin that shows links in excerpts, and I had to change the link in the excerpt. When I tried to change the link and resave, it blanked out on me, too. What I did was cut and pasted the contents of the post to a notepad file and left the post blank, and changed just the excerpt and saved that. Once the post (now blank) was resaved with a new excerpt, I then posted the contents of the post back in and resaved it and it worked.
Not sure if that will work for you, but I hope it does!
Forum: Fixing WordPress
In reply to: Recent Posts and Excerptshttps://www.ads-software.com/extend/plugins/advanced-excerpt/
I have that on the site I administer to limit my excerpts to 100 words, plus to also enable links when the excerpts are viewed
Forum: Fixing WordPress
In reply to: can I revert settings back to earlier today?I’m not sure what happened, but when I logged in today it showed the uncategorized category as showing 0 again. I’m not going to worry about it! I just know that I have so many plugins running that every time I try to add another one, something bad seems to happen. I think I am just going to leave it the way it is!
Forum: Fixing WordPress
In reply to: can I revert settings back to earlier today?No, the problem wasn’t solved yet. I am using Advanced Category Excluder and I have “Uncategorized” hidden from the archive page. It’s no big deal- it doesn’t seem to be taking up any extra space and I have it hidden.
Forum: Fixing WordPress
In reply to: I can’t delete a widget in my sidebar?I have the same problem when using Mozilla Firefox. Internet Explorer allows me to remove them.
Forum: Fixing WordPress
In reply to: MySQL database getting quite largeusing that plugin i downloaded- it says wp_posts in the database has 2,222 records. i read somewhere else that WP 2.6 counts revisions- is there anyway to delete those old revisions and just keep the current versions? i have made a lot of revisions to all the posts. it also says data usage is 6.1 MB and index usage is 2.1 MB. any idea what those numbers mean and which is actually being consumed in my DB? 6.1 MB or 2.1 MB?
Forum: Fixing WordPress
In reply to: MySQL database getting quite largeWhat is the difference between dropping a table and emptying a table? Am I going to run out of space on my site once I reach 2,200 posts (considering 200 takes me to 9 MB)?
Forum: Fixing WordPress
In reply to: MySQL database getting quite largeI installed WP-DBManager 2.20 on my WP site. What does it mean to empty/drop a table? Is all data lost when that is done?
Forum: Fixing WordPress
In reply to: links show in blog, but disappear when viewed in archiveThank you for clarifying that it is referred to as the excerpt! I found what I needed! Thanks!