brainfreeze0
Forum Replies Created
-
Forum: Plugins
In reply to: Is there a universal root directory name when writing scripts?Hi I apologize for the delayed response. That’s awesome. I’m barely learning php and javascript so my response maybe completely ignorant here. So in this case let’s say I had the background image “newbg.jpg” in the background folder. In the style.css the normal path would be:
background: url(http://www.domain.com/wp-content/uploads/2012/07/newbg.jpg) no-repeat center center fixed;
Would I stick that code you provided into the functions.php from which it would automatically draw on my css I have defined for my background (hope that made sense. Thank you for helping.
Forum: Fixing WordPress
In reply to: Twentyeleven theme: Removing CSS elements above header imageAnyone else familiar with Twentyeleven CSS code know how to remove elements above the header image by chance? Thanks!
Forum: Fixing WordPress
In reply to: Twentyeleven theme: Removing CSS elements above header imageactually I’m doing it on localhost before putting it online so I have no link yet. I used Firebug and thought I had removed all of the necessary elements which mainly consisted of just the #branding, site/ desc info within branding. I set them both to display: none; but its as if either the banner image has padding that separates it from the header or the header image has padding that separates it from the banner. Or both.
I put the banner image just before /head in header.php before removing the css I spoke of and it actually divides #branding in half. After removing the elements I spoke of I still have the space. The only thing I can think of is maybe putting the banner in its own div and making sure it has no padding as I’m thinking it being uploaded a normal image, may be WordPress css has all images set to a certain amount of padding for captions etc. I still think Ill run into the header image having padding and I don’t know where to go to set that at 0.
My CSS knowledge is pretty limited and what I do know has been basically through trial and error. Appreciate the assistance.
Forum: Fixing WordPress
In reply to: Twentyeleven theme: Removing CSS elements above header imageHi! I made a copy of the original style.css and then play around with it to get it right. I was removing the css parts from the style.css to get the effects I spoke of.
Forum: Fixing WordPress
In reply to: Can I transfer a blog I am creating locally to another user?Dude, your a genius. Thanks for the heads up. I was to dumb to figure out how to do 2 different databases but found a great workaround which I will describe for anyone else who might want 2 blogs with one blog already established and have trouble going about it.
Step 1: First and foremost, back up your current htdocs folder in another part of your system (mine is in “My Documents”) under the name “htdocs.house” (or whatever your blog theme “htdocs.blogtheme”)
Step 2: Go back to your real htdocs in Xampp or whatever localhost you have your current blog files in and open up your wp-config file in whatever you use to edit them (i.e. Dreamweaver).
Step 3: Scroll down until you see:
$table_prefix = ‘wp_’;
and add another such as:
$table_prefix = ‘wp2_’;
so that you see:
$table_prefix = ‘wp_’;
$table_prefix = ‘wp2_’;and save it.
At this point when you go to http://localhost/ it will take you through the install where you can name your new blog title, and other info. This is where it overwrote my htdocs files which thankfully I had already backed up. Then you can log in to the new blog which is now hosted at http://localhost/ and if you want to switch back and forth between blogs just rename the one you are switching from to like htdocs.1 and rename the one you want to switch back into or your original blog back to htdocs and you can switch back and forth.
Also make sure you back up the new blog files in your other folder (i.e. “My Documents to htdocs.newblog)
Please note that when I opened up my old blog wp-config file in Dreamweaver it noted it had been modified outside of Dreamweaver and asked me if I wanted to update it which I told no.
Maybe I went the long way around to solve this problem but I am just happy it worked. I couldn’t figure out how to get back to my old blog as I think it might have been overwritten with the new install. Either way this works for me 😉
Forum: Fixing WordPress
In reply to: Can I transfer a blog I am creating locally to another user?Hi thanks! I’m trying to create multiple database servers in Apache where I can work on my WP in one database server and my friends in the other. I finally got the .config files situation figured out but then got lost again. I created the path on my computer to a folder in the htdocs folder then created a separate db called “wordpress2” on the apache server. I couldn’t navigate from one DB to the other. I would stop and start Apache and Mysql each time I wanted to go from one DB to the other but when I exported my .sql files from WP db (localhost) to WP2 db (localhost:8001) it got stuck on WP2 db. After that when I would type in http://localhost/ it automatically went to http://localhost:8001. I finally got so frustrated I just recopied the files to their original state and deleted the WP2 db.
I’m fairly new to a lot of this and am learning a lot through trial and error, but I just spent about 6 hours trying to do this and am nowhere further from where I started aside from being able to redo the steps to get there faster. ;(
Thanks, came to the same conclusion there a little earlier on their forums. Unfortunately once its been done theres no turning back as the -select- option disappears after you have selected one. Thanks
Yeah thats where I got a lot of the ideas I tried that did not work. Also where I got someone talking about leaving the 2nd page blank (select) though not sure if that is for sure.
Forum: Fixing WordPress
In reply to: Dreamweaver CS5 and WordPress Dynamic Files issue?The sites not even live, its on my remote server. Also, the permalinks were changed in accordance with seo to put my keywords into the extension. At the moment I’ve just been designing my website. When it goes up all of the pages will be correct on permalinks and structure to ensure not to make the mistakes Ive made in the past in doing what you described after it was already live.
OTT, in a situation like this the redirect would be the appropriate form of action, but it would also be wise to list the old permalinks in your robot.txt and simply delete the pages a few months down the road after Google has stopped crawling and indexing those url’s onto the web.
Thanks for the help
Forum: Fixing WordPress
In reply to: WP Site Blocked from botsHell, even if you go out and flag Google to come crawl your site when you first put it up it can take up to 6 months. Having told them not to crawl it makes it longer.
Write blog entries and post links on social media and they will crawl through those faster than just coming to visit you on their own.
Forum: Fixing WordPress
In reply to: Blog post title not showing upNo I checked that and they were enabled. Thanks
Awesome info, bookmarked thankyou for the help!
ahhhh ty so much for that! I think my best option is to just write it in word and then make the necessary adjustments when i get it from my designer. TY!
thanks!