erikturner
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: CNAME and Subdomains….thanks for your thoughts, keith.
I’ve learned alot in this process, and leaned heavily on namecheap customer service.
First lesson was that a subdomain is like “subdomain.domain.com” not “domain.com/subdomain” ?? So I’ve actually arrived at hte solution to have a working “archive” site at archives.highpressurephotography.com
took a while to get things set up correctly for… a lot of reasons that probably aren’t that useful for anyone else’s setup… but… it works now!
Forum: Fixing WordPress
In reply to: Linking mysql database with local wp instal… and if I were to try and stretch out your help even more… for mac I’d look to use the terminal instead of RUN?
Forum: Fixing WordPress
In reply to: Linking mysql database with local wp instalIf I am running wp locally from my machine (mamp runs local sql and apache servers) how would these steps change?
Forum: Fixing WordPress
In reply to: Linking mysql database with local wp instalthanks– I’m guessing I need to do the bit under #2, but where do I enter that code? MAMP is just a program that is getting the servers to run right? I’m not sure where I use the code…thanks
ErikForum: Fixing WordPress
In reply to: Database problems…123milliseconds- thanks for reading my thoughts here… i’ve realized that my wp-config.php file was actually not updating properly, so the password was what was not matching, and the database was fine. Thanks!
Erik
Forum: Fixing WordPress
In reply to: Database problems…I’m not sure either. My SQL database has a status of “setup” on godaddy. Does the .sql file encapsulate the whole database? Would it be best to just delete whatever I have on the server and try and upload what I exported?
Forum: Fixing WordPress
In reply to: Database problems…let me get the stupid question out of the way too… I want to make sure I have the right password in the wp-config.php file, as I think I do. That username and password should match the username and password set up with the MySQL database on your host’s server, correct? So I have godaddy… I’ve logged onto their site, gotten into the MySQL, and changed the password to make sure it matches with the wp-config.php file. That is correct, right?
thanks!
ErikForum: Fixing WordPress
In reply to: Database problems…thanks for your reply… i didn’t see any links in that thread which dealt with diagnosing whether sql was running (it was mainly just shoving people over to .org instead of .com- I just learned the difference and glad I blindly chose the right one :). I’ll search around a bit here and see if I can’t find a way to verify this…thanks
ErikForum: Fixing WordPress
In reply to: Image.php to show “full” instead of “medium” for WP GalleryMONEY! It is working great now. Thanks for the tip about comparing to page.php, that was the key, for me at least! What can a PHP-clueless person do to help you with something? Normally I’d buy a fellow a beer or something for this much help.
Forum: Fixing WordPress
In reply to: Image.php to show “full” instead of “medium” for WP Gallery…oops, not sure if it matters, but the “container” is the one that sets the images in the correct spot (in the middle of three columns). So I’m using this:
<div id="container" class="narrowcolumn">
Forum: Fixing WordPress
In reply to: Image.php to show “full” instead of “medium” for WP GalleryRocking… this is getting very close! Thanks so much for your help. The page.php file is really complicated, but it has a whole different div at the top:
<div id="container">
and nothing about class or columns. I experimented with container in the image.php file but that didn’t seem to work too well. But with the narrowcolumn class it puts the images in the right spot, and space is there for the sidebars.
I inserted the get_sidebar();, but I guess my main sidebar is the one that is normally shown on the right. I also have one on the left, what might be the syntax for the second one? It’s also just putting the sidebar on top of the images…. not recognizing that it needs to go in the right column I guess. (https://www.erikturner.net/wordpress/?attachment_id=349) Any ideas on getting the sidebar content into the right place now?
Thanks!!
Forum: Fixing WordPress
In reply to: Image.php to show “full” instead of “medium” for WP GalleryThe beginning of the image.php file has this:
get_header(); ?> <div id="content" class="widecolumn">
Is the class widecolumn at issue here? Is that making it display as just one single wide column? Do I need to do something like get_sidebar(); similar to get_header(); ?? I just don’t know the syntax of these things… I’m not too familiar with PHP, nor the wordpress system to know the changes needed right off…
I have gotten the preview images to show in a better place, and got rid of some of the other text that was overlapping.
Forum: Fixing WordPress
In reply to: Image.php to show “full” instead of “medium” for WP Galleryalso just noticed that as it is now, it shows thumbnails of the previous and next pictures, which you can click to go to their attachment pages. That is actually really cool! This is close to being stellar, but I just need a way to get those thumbnails on the attachment page to be placed better (under the full sized, not overlapping text) and the sidebars.
Forum: Fixing WordPress
In reply to: Image.php to show “full” instead of “medium” for WP GalleryThanks for your reply.
I tried a similar approach before, but the problem is the sidebars are no longer present. Probably best to show by example:
go here: https://www.erikturner.net/wordpress/?p=342
and click on any of the small thumbnails. It does show the fullsized jpg, but it doesn’t have the sidebars there for navigation.
Prior to having any image.php file in the current theme’s directory I guess it was using some default settings, which were good in that the sidebars were still there on the attachment page, but the size was medium. The only thing I’d like to change is the size.
If it helps, I pasted the code I’m currently using below. I can’t even make enough sense of it to figure out which sections need to be changed to put in the sidebars.
Thanks!!!
[Code moderated as per the Forum Rules. Please use the pastebin]
Forum: Fixing WordPress
In reply to: WP gallery questionhmmm
doesn’t seem to be working. try clicking on one of the pictures on this page
https://www.erikturner.net/wordpress/?p=324
might just give up on caring if its full sized….
thanks though!
Erik