David Powell
Forum Replies Created
-
Forum: Plugins
In reply to: WordPress is giving a permissions error on plugin submissionTurns out the name of the button used to submit the page didn’t match in the submit function.
Forum: Plugins
In reply to: Can I view a theme without logging infor those that come across this I found the answer to my question:
Forum: Fixing WordPress
In reply to: Featured Posts Dropping off after unknown dateI had the site pulling 10 posts per page so it only pulled for 10 not all the posts. I tagged my featured posts with a “featured” tag and pulled those posts. It works now.
Thanks Nate. I talked it out with my guys in AWDG (Atlanta Web Designer Group) and since I’m a developer I looked over the markup and the code in your widget. Seemed to be an issue with the div’s.
I went to /wp-content/plugins/mailchimp/mailchimp-widget.php and added a </div> to line 374 which fixed the issue.
I haven’t seen this problem on any other widget besides this one. Could be an issue with 3.2.1 and the plugin. Not sure if you know how many users with 3.2.1 are using the widget but it may be something to check into.
Granted it could also be an issue with the theme and nothing on the widget at all.
Thanks for getting back so quick on this issue. I hope my fix will help another user fix this issue if they have it.
Forum: Hacks
In reply to: Page outside of WordPress won't connect to the databaseI can see the wp-config file and those variables are correct. The wordpress driven site connects fine.
Forum: Fixing WordPress
In reply to: query_posts() returning same results with ajaxi found a workaround
I added some javascript that replaces the blog content when it loads. So the page loads showing all the posts, then the javascript takes over and replaces it with the first page of what I want to be there:
$(function() { link = "http://www.mordantworld.com/?cat=-132"; jQuery('.blogDisplay').fadeOut(200).load(link + ' .blogDisplay', function(){ jQuery('.blogDisplay').fadeIn(800); makeThumb();}); });Forum: Fixing WordPress
In reply to: query_posts() returning same results with ajaxif I remove
query_posts(‘cat=-132’) in the index and add
link = link+”?cat=-132″; to the jquery
I can get the next set of page correctly. I only have the issue when it’s on the index page.Forum: Fixing WordPress
In reply to: query_posts() returning same results with ajaxI can try setting up a test location. I created the theme and the ajax for it. Works great except for that one line. If I remove the query_posts(‘cat=-132’) line it works perfectly.
Forum: Fixing WordPress
In reply to: query_posts() returning same results with ajaxproblem persists on a positive number too.
I can’t test it without the ajax. The page is almost finished and causes issues when that portion is removed.
I’ve even tried
$blogPost = new WP_QUERY(); $blogPost->query(array('category_name'=>'blog')); if ($blogPost->have_posts()): while($blogPost->have_posts()) : $blogPost->the_post()and
$blogPost = new WP_QUERY(); $blogPost->query(array('category__not_in'=>'-132')); if ($blogPost->have_posts()): while($blogPost->have_posts()) : $blogPost->the_post()