MichaelH
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Categories on Tag PageCould look at http://wordpress.org/extend/plugins/query-multiple-taxonomies/
This plugin also does that but you will read what others are saying
http://wordpress.org/extend/plugins/tdo-tag-fixes/
http://wordpress.org/support/topic/showing-posts-that-contain-a-certain-tag-within-a-category?replies=6Forum: Plugins
In reply to: My plugin vanished from wordpress.orgI’d probably just post here and explain the situation:
Forum: Fixing WordPress
In reply to: Missing wp_users tableIf possible, use phpMyAdmin to restore (phpMyAdmin calls that Import) that one table. The info below assumes your users table is called wp_users, but the ‘wp_’ will depend on what your TABLE PREFIX is.
1. Make a backup of your database now just in case!!!
2. Then make a copy of your OLD backup that has the wp_users table.
3. Then with something like NotePad+, edit that copy and delete everything in the file except for the reference to the wp_users table. Look for the CREATE TABLE for wp_users and that’s the beginning of the records you should KEEP, and KEEP everything up to the next CREATE TABLE statement.
4. Then use the phpMyAdmin Import.Alternative:
You might consider asking your host if they have a recent backup they can restore.Forum: Themes and Templates
In reply to: How to make my post titles linked to its pagesTake an example from the WordPress Default Kubrick theme and use something like this:
<p><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></p>Related:
Stepping Into Templates
Template TagsForum: Installing WordPress
In reply to: How to Reinstall WordPressIt looks like you are on Yahoo hosting and they don’t support MySQL 5 if I remember correctly. You’ll either have to restore and use 3.1.4 or move to new hosting.
Forum: Installing WordPress
In reply to: Restored now want to stay out of trouble againWell you’ve got backups and I don’t think pressing that button will cause you harm.
Forum: Installing WordPress
In reply to: Restored now want to stay out of trouble againWhen you restored to 3.1.4 you would have needed to restore both your wordpress files AND your database.
But with that said there’s almost no difference between the 3.1.4 and 3.2 database structure.
Forum: Themes and Templates
In reply to: Can't Find Theme!Why not use the TwentyEleven theme and set “Blog pages show at most x posts” to 10 via Administration > Settings > Reading
Forum: Installing WordPress
In reply to: How to Reinstall WordPressThe database is MySQL. PHP is the language that WordPress is written in.
You might consider using phpMyAdmin to backup your database. See WordPress Backups.
Forum: Installing WordPress
In reply to: How to Reinstall WordPressYou could try following Steps 7 and 8 of Upgrading WordPress Extended.
Make sure you have a database backup before beginning.
Forum: Installing WordPress
In reply to: Restored now want to stay out of trouble againAssuming your June backup was at 3.1.4, are you looking to roll back to 3.1.4–if so not only would you restore your database as you did, you would restore the files. The 3.1.4 files can be found in the Release Archive at http://wordpress.org/download/release-archive/
Forum: Fixing WordPress
In reply to: Publish large amount of posts at onceMight look at a plugin to help–for example:
http://wordpress.org/extend/plugins/csv-importer/Forum: Everything else WordPress
In reply to: How can I tell if a site is using WordPress?I usually look for some reference in the source to “wp-content” which is where a plugin or a theme will typically reside.
Forum: Plugins
In reply to: Adding an excerpt to a page with shortcodeSomething like this in your theme functions.php
function mh_display_excerpt_shortcode( $atts ) { extract(shortcode_atts(array( 'excerptid' => '' ), $atts)); if ($excerptid) { $args=array( 'p' => $excerptid, 'post_type' => 'post', 'post_status' => 'publish' ); $my_query = new WP_Query($args); if ($my_query) { echo apply_filters( 'the_excerpt', $my_query->posts[0]->post_excerpt ); } } return; } add_shortcode('display_excerpt', 'mh_display_excerpt_shortcode');Then use this for your post content
[display_excerpt excerptid="100"]Forum: Fixing WordPress
In reply to: Displaying child pagesOne other thing, could this code be edited to work at a higher level on a page “up” in the hierarchy?
I’d say yes, because regardless of hierachy depth, you are testing $page->post_parent.