wordpress “manipulations”

Gepostet am Mai 10, 2010 in Alle Berichte, Geschichten sind Speisen für's Ohr.., Techblog | 1 Kommentar

wordpress “manipulations”

Manipulations

WordPress is a very useful framework to create and manage webpages, blogs for professional or private web presences. There are thousands of themes (layouts) for free or to buy and the framework of wordpress itself is free. This facilitates to make a blog or homepage enormous. However your imaginations sometimes deviate from set specifications by either wordpress-settings or by theme-settings. Thus one have to change (or comment out some code) which “disturb” your results.. I’m a beginner writing codes and developing php, html, css et cetera. This issue (techblog) is just for remembering parts of changes I did on the code and also to present some useful gadgets.. 

 

1. Theme (concerns layout..)

 

1.1 “Footer”

Using a WordPress theme designed by Elegant WordPress Theme I was not delighted about the one and the other text written on my page originally coming from the theme developer. Thus I tried to comment out some of the texts. Most of the texts are located within the footer of the theme. Others have been set on the header, but there are theme implemented functions to hide the texts and logos..

One example: The text is located at the under right boarder on the theme.

screen2

I Just had to comment out within the html-code of the procedure footer.php:

screen3

1.2 Change menu bar under style.css

 

Font-size
screen1

 

Just change the font-size value. I changed from 15px to 20px. Thus the menus got readable referring the chosen font-style:

ul#top-menu li { padding: 0px 9px }

ul#top-menu a { font-size: 20px …}..

 

 2. Change Url (extracting /wordpress)

 

There is a very useful help within wordpress-codex: http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory  helping you to extract the /wordpress within our url.

At this point, I only illustrate the following steps extracting the “/worpress out of the url:

  1. go to General in our administration panel
  2. ad to your Site address (URL) your root-directory (before it was tierra-safiri.com/wordpress and now you remove the “/wordpress” (do that just in case you have the same initial situation: installed wordpress not direct in root, but within folder /wordpresss (there are all your wordpress-files)
  3. click to save changes (attention, it may be that your site/ blog now doesn’t appear)
  4. the reason therefore is that your login-link before was tierra-safiri.com/wordpress/now you changed to an other location
  5. hence copy three files to your root-folder (one above /wordpress):
  6. index.php and .htaccess and move wp-config.php to your root-directory as well do the following step:
  7. connect using an ftp-client like fileZilla or I use Cyberduck (!) to your root folder and download (or if possible direct on server) and change the require-statement from “require (‘./wp-blog-header.php’);” to “require (‘./wordpress/wp-blog-header.php’);”
  8. save the file and upload it again to your root directory
  9. maybe you have to change permalink structures (if standard, all should work well)

Now you can access your blog / webpage just enter tierra-safiri.com!

 

1 Kommentar

  1. Hello there! This post could not be written any better! Reading through this article reminds me of my previous roommate! He always kept talking about this. I’ll forward this article to him. Fairly certain he’s going to have a great read. Thanks for sharing!

Leave a Reply

Deine E-Mail-Adresse wird nicht veröffentlicht.

Du kannst folgende HTML-Tags benutzen: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>