Eric Holmes
Forum Replies Created
-
Forum: Hacks
In reply to: posts_where filter is ignoredAhhh, yes.. Attempt removing “IS” in “IS IN”. Looking at that current post, I see:
AND wp_posts.post_type IN (‘post’, ‘page’, ‘attachment’)
I am thinking “IS” is not proper SQL syntax.
Give that a shot!
Forum: Hacks
In reply to: posts_where filter is ignoredCan you copy in the entire posts_where value once it’s altered by you?
Forum: Hacks
In reply to: posts_where filter is ignoredMy mistake, the filter I MEANT to give you was posts_clauses, not posts_request. It should give you the entire query array.
Forum: Hacks
In reply to: posts_where filter is ignoredOne thing to try with your posts_where clause is upper-casing IS NOT IN. I’m not sure if the posts query does a prepare or not, perhaps it is not reading it as proper SQL because of lowercase
Forum: Installing WordPress
In reply to: move index to other fileA simple solution is to change index.php of WordPress to index_tmp.php or some other name, then you will have to type in that file in your web address to see the WordPress.
A BETTER solution is to move WordPress into it’s own directory (may I suggest /wordpress ?) and once you are ready to make the move, copy the files back into the root folder, replacing the old index.php .
You may want to backup the old CMS system just in case something goes wrong, or at least the index.php file.
Forum: Hacks
In reply to: posts_where filter is ignoredTry doing a print_r($where); at the top of the function. Is it printing out SQL?
The filter I prefer to user is posts_request, You get more access to the query in this filter.
Forum: Fixing WordPress
In reply to: Regenerate ThumbnailsAnother suggestion I have is to do a site-wide search of 175 in the php files. See if there is anywhere that it is setting this alternate size.
Forum: Fixing WordPress
In reply to: Regenerate ThumbnailsWhat are the original image dimensions?
It could be that one of your cameras is using different image ratios?
I would assume that WordPress would crop on my width and height, but perhaps it is only cropping by width, which would result in the 175 height if the images were originally wider than the older images.
Forum: Fixing WordPress
In reply to: 404 for readers when publising a new blog postIt shouldn’t. I assume the permalink reset did it’s job, or perhaps you had scheduled the post for a later time than immediately?
Forum: Fixing WordPress
In reply to: Header / Masthead help neededRather than tutorials, I’d suggest googling “Best responsive free wordpress themes” there are some great ones out there, and it’s easier to apply colours and styles like that, than to actually create it 😉
Forum: Fixing WordPress
In reply to: Header / Masthead help neededYou will have to do some CSS magic here.
apply position:relative; to the .branding container class.
Then apply position:absolute; top: 50px; left: -200px;
This should move it roughly to the left of the main banner, but may go off the screen at smaller resolutions.
To truly support smaller resolutions, the site needs to be responsive design, which it does not appear to be.
Forum: Fixing WordPress
In reply to: 404 for readers when publising a new blog postThis post is showing up for me now.
Forum: Fixing WordPress
In reply to: user names and log inNo problem. Please mark this as resolved. 🙂 Thanks
Forum: Fixing WordPress
In reply to: Header / Masthead help neededIt appears you have the logo hardcoded in a sidebar.php file? You should move it to header.php, and apply the appropriate CSS styling.
Forum: Fixing WordPress
In reply to: "portfolio" page directoryIt appears that the Places subpage has the same Page template as the Photography page (Portfolio grid). Change it to the default template, and it should remove that section.