davidcroda
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Deactivated plugins, Now I can’t access admin!Forum: Fixing WordPress
In reply to: Deactivated plugins, Now I can’t access admin!I have the same problem. someone please help!
Like OP, I installed “pushit”. When I went to activate it, immediaetly all things admin related were broken. You can see the errors here https://www.premazing.com/wp-admin/
I have since ftp’d in and remove the plugin files.
Anyone find a solution?
Forum: Fixing WordPress
In reply to: query_posts and get_posts return different resultsMichaelH,
I really appreciate your help, but the issue here is that query_posts and get_posts return different results.
query_posts(‘meta_key=author’); is not returning the posts with the meta key “author” set. get_posts(‘meta_key=author’); works properly.
As far as I can tell this is a bug. If there is a better place for me to post this so the developers can look at this case, let me know.
Thanks
Forum: Fixing WordPress
In reply to: query_posts and get_posts return different resultsUpdate:
This hack does work.
I still don’t know why query_posts doesn’t return the proper results though
Forum: Fixing WordPress
In reply to: query_posts and get_posts return different resultsJust wondering, but as a hack, could I use get_posts to return the result set I want, and then override the $posts variable with this result. Would this allow the loop to function as normal with the new result set? This is an example of what I’m talking about.
would this
$posts = get_posts(‘meta_key=author’);
START LOOPDisplay the same as: (assuming they returned the same results)
query_posts(‘meta_key=author’);
START LOOPForum: Fixing WordPress
In reply to: query_posts and get_posts return different resultsThanks for your replies guys.
Unfortunately that link doesn’t help me Michael because I am properly using query_posts to override my main loop for the page. It works with the category parameter.
I am merely getting the results from get_posts to show that posts do exist with the specified meta_key value, but they are not being returned by query_posts.
The main problem is that two identically formed queries, one with get_posts, and one with query_posts, are returning different results.
Forum: Fixing WordPress
In reply to: My site sometimes doesn’t accept the back buttonThis often happens when the previous page was a redirect.
For example, if you are clicking a link from an email on yahoo to go to your site, often times yahoo will send you to a page on their domain, which redirects you to the URL of the link you clicked on.
There are various reasons to do this, most notably the lack of referral information when you visit the link.
Therefor when you hit the back button, you return to the previous page, which was a redirect to your current page, and the current page loads in your browser. Often this happens quite fast which is why it looks like you are hitting back and just ending up at your site again.