paulmudo
Forum Replies Created
-
Forum: Plugins
In reply to: Pagination buttons for posts with multiple pagesYes, I’m.
Forum: Plugins
In reply to: Pagination buttons for posts with multiple pagesI’d suggest “Advanced Content Pagination” WordPress plugin. I use it on my site. It gives each page pagination buttons of that post a different title, description and image.
Forum: Fixing WordPress
In reply to: How To Hide Post Thumbnails?Where exactly you’d like to have big thumbnail? Whether on category/home page or on single post page
Also show the code in that template file (archive.php or single.php)
Forum: Fixing WordPress
In reply to: Three sections of posts with different criteria on same pageTry this:
<?php wp_reset_query(); ?> <?php query_posts(array("post_status" => "publish", "orderby" => "post_date", "order" => "DESC", "posts_per_page" => 1)); ?> <?php while (have_posts()) : the_post(); ?> <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a> <?php the_excerpt(); ?> <?php endwhile; ?>This will show the latest one post you have.
Forum: Fixing WordPress
In reply to: Three sections of posts with different criteria on same pageUse this function before each query_posts():
<?php wp_reset_query(); ?>Forum: Fixing WordPress
In reply to: Call to undefined function mysql2date() error helpGreat!
Forum: Fixing WordPress
In reply to: Call to undefined function mysql2date() error helphmm, all correct with directories, this is just a hosting user directory-ING.
What exactly have you done with this wordpress? Where you changed URL? Have you activated all plugins and themes in Dashboard > Plugins and Dashboard > Themes admin pages?
Forum: Fixing WordPress
In reply to: Title ErrorsHave you reset your cache?
Forum: Fixing WordPress
In reply to: Call to undefined function mysql2date() error helpI was trying to change a url by following instructions online and that’s how this all started.
What URL and where have you changed?
Forum: Fixing WordPress
In reply to: Call to undefined function mysql2date() error helpAlso, is your wordpress really located in /www/ folder, which is in the same /home/therapy/www/ directory? I mean /www/www/ looks not good for me.
Forum: Fixing WordPress
In reply to: Call to undefined function mysql2date() error helpI don’t see any reason.
Have you tried remove all WordPress files (excerpt /wp-content/ folder and wp-config.php) and upload again the same version’s files?Forum: Fixing WordPress
In reply to: Call to undefined function mysql2date() error helpOpen your wp-load.php (located in root directory) and check, is there such a row?
require_once( ABSPATH . WPINC . '/functions.php' );Forum: Fixing WordPress
In reply to: Copied wp_posts content to new install now no images work1) Media thumbnails are all blank but the images are all there and all 755 in the FTP permissions.
- Have you tried set all 777?
- Have you transfer wp_postmeta table as well? It stores all information about images and thumbnails.
- Why you don’t use WordPress Export/Import tool?
Forum: Fixing WordPress
In reply to: Show Author Related Posts if they have postThis code will output User post thumbnails but only for user who has only one post. What exactly you need, let me know and I can say what to add in if{ } else { } statement?
/********************************************************************/ /* Function for displaying related post thumbnails */ /*********************************************************************/ function get_related_author_posts() { global $authordata, $post, $wpdb; $authors_posts = get_posts( array( 'author' => $authordata->ID, 'post__not_in' => array( $post->ID ), 'posts_per_page' => 7 ) ); $author_post_number = $wpdb->get_var("SELECT COUNT(*) FROM ".$wpdb->posts." WHERE post_author = ". intval($authordata->ID) ); if( $author_post_number == 1){ $output = '<div class="tiles-block"><h4 class="other-props" >Other properties by this developer</h4>'; foreach ( $authors_posts as $authors_post ) { $output .= '<a href="' . get_permalink( $authors_post->ID ) . '">' . get_the_post_thumbnail($authors_post->ID) . '</a>'; } $output .= '</div>'; return $output; } }Forum: Fixing WordPress
In reply to: Show Author Related Posts if they have postYou can get author post number using this:
$author_post_number = $wpdb->get_var("SELECT COUNT(*) FROM ".$wpdb->posts." WHERE post_author = ". intval($authordata->ID) ); if( $author_post_number == 1){ your code here.... }Don’t forget to add this $wpdb; in globals:
function get_related_author_posts() { global $authordata, $post, $wpdb; ....