bluedrag
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Media Library appears empty– put a fresh install of wordpress on the new server
– copy/pasted the wp-content folder from my old server into the new one.
– export all content into an xml file from the old server.
– create a new empty database on the new server / update database information in wp-config.
– import xml into new server.
On a side note, I also lose all widget data this way, I’ve gotten used to just saving it in a seperate html file and inputting afterwards. But if there is something I can do to have widget data imported along with the rest I’d love to hear it.
Forum: Fixing WordPress
In reply to: Media Library appears emptyThanks! Yeah, I should have paid more attention to that.. That’s what I’m doing.
Forum: Fixing WordPress
In reply to: Media Library appears emptyI’ve tried this plugin.. I’m getting a strange error. It says
‘
This plugin requires WordPress 4.0 or greater, and PHP 5.4 or greater. You are currently running WordPress 4.5.3 and PHP 5.3.3. Please contact your website host or server administrator for more information. The plugin has been deactivated
‘Soooo thats strange right?
- This reply was modified 8 years, 2 months ago by bluedrag.
Forum: Fixing WordPress
In reply to: Featured Images not showing after site migrationWhat do you mean by that? The images are on the server, images linked through CSS or tags on a page or post are showing up. Just not the featured images.
Not sure I understand what you mean by that.
Forum: Fixing WordPress
In reply to: List posts, if more than one.This worked! I just had to change
if (count( $myposts ) > 1 )
toif (count( $myposts ) >= 1 )
because the title was not showing up when one post was listed (so categories with two posts, not including the post page you are on)Thanks!
Forum: Fixing WordPress
In reply to: List posts, if more than one.Yes everything else works. Just trying to display the title if there are 2 or more posts in the category.
Forum: Fixing WordPress
In reply to: List posts, if more than one.JakePT, this code doesn’t seem to be working, I tried it exactly as you posted and then modified it a bit:
<?php global $post; $category = get_the_category( $post->ID ); $category = $category[0]; $category_id = $category->cat_ID; $myposts = get_posts( array( 'numberposts' => 99, 'category__in' => array( $category_id ), 'post__not_in' => array( $post->ID ), 'post_status' => 'publish' ) ); if (count($myposts > 1)) { echo 'Test'; } ?> <?php foreach( $myposts as $post ) : setup_postdata($post); ?> <li> <a href="<?php the_permalink(); ?>"> <?php the_title(); ?> </a> </li> <?php endforeach; wp_reset_postdata(); ?>
My website doesn’t crash, but the if statement doesn’t seem to be doing anything, the word “Test” shows up regardless of how many posts the category has.
Thanks
Forum: Fixing WordPress
In reply to: List posts, if more than one.Forum: Fixing WordPress
In reply to: List posts in current categoryThis almost works. I only want to list posts in the same CHILD category though. It’s listing everything in the same highest-level parent category.
Forum: Plugins
In reply to: [WP Go Maps (formerly WP Google Maps)] Map Freezes after 5 secondsI had a different google maps plugin also installed called simplemaps. Deactivating it fixed the issue.
Forum: Fixing WordPress
In reply to: jQuery Mosaic PluginMoving the mosaic plugin files below wp_head() in <head> seemed to fix the issue.
Forum: Fixing WordPress
In reply to: Animation when changing post categoryThere are plugins that use AJAX.
Forum: Plugins
In reply to: [Slideshow] Height is not fluid, breaks mobile siteI solved this, there is an “adjust height when width shrinks” option set to no by default.
Forum: Fixing WordPress
In reply to: Removed comment_template() still getting spam from botsNo I haven’t, it’s for a company, and Akismet is only free for individuals if I’m not mistaken?
I’ve tried multiple other anti malware / spam plugins none of them seem to work for me.
Hey Riflebird,
I’m having the same problem and see the CSS override happening in my chrome developer tools. Can you tell me which file you modified the CSS in?