-
▼
2012
(336)
-
▼
May
(23)
- How to Get the Title of the Blog in WordPress
- How to Convert WordPress Template for TypePad
- How to Log Into MooTools for WordPress
- How to Use WordPress Comment Plugins to Improve a ...
- How to Organize Your WordPress Blog Using Pages
- How to Import All Comments From WordPress to Blue ...
- How to Make My Pictures Not Stretch in WordPress
- How to Install Something between the Head Tags in ...
- How to Remove Topics From a WordPress Post
- How to Copy a WordPress Blog to LocalHost
- How to Disable WordPress Widgets in MySQL
- How to Upload a YouTube Video to WordPress
- How to Disable the Automatic Date on a WordPress Blog
- How to Empty Trash Posts in WordPress
- How to Change My Self
- How to Edit a WordPress Header in cPanel
- How to Manually Remove WordPress From HostGator
- How to Edit Wordpress Themes
- How to Install WordPress for a Blog on Ubuntu 10.04
- How to Add a Page Template in WordPress
- How to Import a Word Document Into a WordPress Blog
- How to Use JavaScript With WordPress
- How to Display Excerpts on WordPress Posts
-
▼
May
(23)
adsense
How to Get the Title of the Blog in WordPress
Call the Blog Title in a Template
1. Access your WordPress administrative dashboard and click 'Editor' in the 'Appearance' bar.
2. Click on the template you want to call the blog title in. For example, to display it in the header, open 'Header.php'; to display it in the single blog post template, open 'Single.php.'
3. Browse to the section of the template where you want to call the title. Paste the following PHP string:
4. Click on 'Update' to save the changes to the template.
View and Edit the Blog Title
5. Access the WordPress admin panel and click on 'General' under 'Settings.'
6. View the 'Site Title' section to see the current blog title.
7. Edit the field's text to change the title, if desired.
8. Click on 'Save Changes.'
8:43 AM | Filed Under | 0 Comments
How to Convert WordPress Template for TypePad
1. Navigate to your Typepad website and log into your account.
2. Click the 'Weblogs' tab at the top of the screen to locate the blog template you want to change.
3. Click the 'Design' tab, then click the 'Choose a Theme' button.
4. Select the 'Customizable' option from the Themes list on the left.
5. Select the 'Advanced Templates' option, then click the 'Choose' button.
6. Click 'Create,' then type a name for your theme and click the 'Save' button.
7. Click the 'Edit This Element' button next to the template elements you want to edit.
8. Copy the HTML or CSS code from the WordPress template that corresponds with the element you want to edit and paste it into the box. For instance, if you want to convert a WordPress template's index file to Typepad, replace Typepad's main index code with WordPress' index code; or replace Typepad's stylesheet code with WordPress' stylesheet.css code.
9. Click the 'Save' button when you are done making your template changes.
9:55 AM | Filed Under | 0 Comments
How to Log Into MooTools for WordPress
1. Log into the WordPress website where you want to use MooTools. The login for WordPress installations is http://www.yourdomainname.com/wp-admin where 'yourdomainname' is the actual name of your website.
2. Click 'Add New' in the left hand column of your Dashboard under 'Plugins,' then type 'MooTools' into the search box. Click 'Search plugins,' then click 'Install Now' under MooTools. MooTools is installed and ready to use.
3. Add ' [mootools]' to any of your existing WordPress pages.
8:53 AM | Filed Under | 0 Comments
How to Use WordPress Comment Plugins to Improve a Blog
1. With any WordPress plugin you first download the plugin from WordPress or from the plugin developer. You then upload the new plugin folder by FTP to the plugins directory of your blog (see links in Resources below).
2. To activate the newly uploaded plugin, go to the WordPress admin panel for your blog and choose Plugins from the Dashboard menus. Find the new plugin in the list of available plugins for your blog and click the activate link.
3. For blocking spam, most WordPress users already have Akismet installed and running, so I won't go into obtaining that one. Another good spam fighting plugin is Did You Pass Math? This plugin asks the commenter to do a simple math problem like 'What is the sum of 3 and 5?' to prove that they are a human and not a robot. This plugin is free, but you can donate a small amount to the developer if you find it really beneficial to your blog.
4. For encouraging and rewarding your commenters, Comment Luv is a helpful plugin. This plugin will take a URL entered by the commenter, go to their blog and come back with a titled link to their last blog post to add to the comment. This plugin works on WordPress and Drupal. In addition, when you use Comment Luv on your blog, you can register your site with Comment Luv and keep track of the places where you leave comments yourself. Comment Luv is free.
5. For improving the appearances of your comments, a plugin that will highlight any comments that you as the author add to a thread is Author Highlight. You have to be able to edit the comments.php file and some of the settings in the plugin file to use this one, so it takes a bit of knowledge beyond uploading and activating it. Once you've done these two edits, any comments by you as author are assigned to a CSS class named .highlighted to make your comments stand out from the others in a thread. Author Highlight is free.
6. If you want to allow readers to edit their own comments after they push the Submit button the first time, a plugin that will allow that is Edit Comments XT. The default amount of time the commenter has to edit their own comments is 30 minutes, but you can edit this on the plugin's options page in the WordPress admin area.
7. To show off your commenters and give them some space in your sidebar, the WP-Most Commented Posts is a useful plugin. To use this one you need to add a short line of PHP to the sidebar.php file in your blog and install and activate it in the usual WordPress manner.
5:26 AM | Filed Under | 0 Comments
How to Organize Your WordPress Blog Using Pages
1. Log into your WordPress administrative dashboard.
2. Click 'Add New' in the 'Pages' section to add a new parent page.
3. Type the content you want for the page. Click 'Publish.'
4. Click 'Add New' in the 'Pages' section to add a new child page.
5. Type the content you want for the child page. On the right column, in the 'Page Attributes' section, click the 'Parent' menu. Select the page you made in Step Three as the parent for this page.
6. Repeat the above steps to add new parent and child pages to your website.
7. Click 'Widgets' in the 'Appearance' section of the dashboard. Drag the 'Pages' widget to the sidebar. Click the arrow at the top of the Pages widget. Enter a Title, if desired. Click the 'Sort By' menu to select how you want the pages to be organized. Click 'Save.'
8. Click the name of your website in the top-left corner of the page to go to your home page. Press 'F5' to refresh the browser. Note that child pages are listed beneath the parent page in the Pages widget. If your template uses pages in the menu at the top of your pages, in most cases only the parent pages will be viewable.
9. Make your site easier to navigate by adding a 'Back' link on each child page, linking back to the parent page. On each parent page, include the title links for each child page to that parent at the bottom of the page.
7:43 AM | Filed Under | 0 Comments
How to Import All Comments From WordPress to Blue Host
1. Log in to your WordPress.com blog account. Choose the 'Export' button within the 'Tools' pane. Click 'Download Export File' to download an XML file on your entire blog, including comments.
2. Open the control panel of your BlueHost-hosted WordPress blog, located at yourwebsite.com/wp-admin unless you set it to something different. Input the username and password you set up, and select 'Enter.'
3. Scroll down to the 'Tools' pane and click 'Import.' Select 'WordPress' and click 'Choose File.' Browse the computer's hard drive until you locate the XML file you downloaded and click 'Open.'
4. Choose 'Upload File and Import' and wait for WordPress to complete the import. Once it does, all comments from the previous blog -- alongside any post content you haven't yet upload --- appears in your BlueHost-hosted WordPress blog.
7:57 AM | Filed Under | 0 Comments
How to Make My Pictures Not Stretch in WordPress
1. Click the 'Appearance' > 'Edit' link on the left side of the Dashboard. The problem with pictures stretching is usually found in the theme's CSS file, and clicking 'Edit' always opens the Stylesheet.css file for editing.
2. Look for a line that starts with '#content.' If it is followed by a static width or height dimension, it could cause stretching for every image uploaded to your site. If, for instance, it says '#content {width: 600px;float: left;}' then it will stretch or pinch every image into a 600px width.
3. Add the to '#content img.alignleft {padding: 5px; margin: 0 8px 2px 0; border: #000000 1px solid; display: inline; float: left;}' and delete the width tag from the original alignright and alignleft classes, so that it reads:.alignleft{float: left;}.alignright{float: right;}
4. Click 'Update' at the bottom of the window to save your edits.
9:57 AM | Filed Under | 0 Comments
How to Install Something between the Head Tags in WordPress
1. Click to expand the 'Appearance' heading in the left panel of the WordPress dashboard. Select the 'Editor' link in the expanded menu.
2. Click the 'Header' link under 'Templates' on the right side of the page. The source code for your WordPress theme's header file appears in a text editor in the center of the screen.
3. Click to place the cursor at the end of the '
' tag, and press 'Enter' to create a new blank line.
4. Paste or type the code you want to install in the
section of your WordPress website.
5. Click the 'Update File' button at the bottom of the screen when you are finished modifying the header file's source code.
9:20 AM | Filed Under | 0 Comments
How to Remove Topics From a WordPress Post
1. Open a Web browser on your computer. Type the location of your WordPress Dashboard page in the navigation text box, and press 'Enter.'
2. Type your user name and password into the login window, and click 'Sign In.' The browser opens to the main Dashboard window.
3. Click 'Posts' in the left panel. A list of posts you've written displays in the dashboard. Click the post you want to edit.
4. Remove check marks next to the topic categories you want to remove. Add a check mark next to the category you want to add to the post. Click 'Update' to save the changes.
8:32 AM | Filed Under | 0 Comments
How to Copy a WordPress Blog to LocalHost
1. Create a new folder where your 'localhost' files reside. Check the documentation of your Web server installation if you are unsure where this folder is located.
2. Open an FTP client such as FileZilla, SmartFTP or CuteFTP and connect to your WordPress site.
3. Copy over all files from your WordPress site to the folder you created.
4. Log on to the control panel of your WordPress Web host and access phpMyAdmin.
5. Select your WordPress database. Click on 'Export' and 'Go' to download the SQL file.
6. Open the SQL file in Notepad and replace all instances of your domain name with your localhost address. For example, if your WordPress URL is 'mywordpress.com' and you saved all of your WordPress files in the local folder 'wordpress,' find all instances of 'mywordpress.com' and replace them with 'localhost/wordpress.'
7. Access your local computer's phpMyAdmin. If you used a bundled installation such as XAMPP or WAMP, it will be located in localhost/phpmyadmin.
8. Create a new blank database and name it 'wordpress.'
9. Copy all text from your SQL file, go back to the blank database and click on the 'SQL' tab. Paste the copied text in the box provided and click on 'Go.' All database information from your WordPress site is now available on your local computer.
10. Go to your local folder where the WordPress files are located. Open up the 'wp-config.php' file in Notepad.
11. Change the database information to your local computer's information. For the MySQL hostname, enter 'localhost;' for the database username, enter 'root;' and for the database name, enter 'wordpress.' If you have not set a password for your MySQL database, leave the database password information blank. Save your changes.
12. Open your browser and go to 'localhost/wordpress' to view your WordPress site.
2:51 AM | Filed Under | 0 Comments
How to Disable WordPress Widgets in MySQL
1. Open a Web browser on your computer. Type your blog address in the navigation text box and press 'Enter.'
2. Click the 'Admin' hyperlink in the bottom footer on your blog's main homepage. Type your administrator username and password in the login screen and press 'Enter.'
3. Click 'Appearance' in the left panel. Click 'Editor' to open the PHP editor for WordPress. All PHP code is controlled and edited from this editor.
4. Click the 'functions.php' page name in the right panel. Clicking a page name opens the PHP code in your editor.
5. Type the 'unregister_sidebar_widget' function and add the widget you want to remove. The following code shows you how to use the function:unregister_sidebar_widget('Archives');The code above disables the 'Archive' widget. Replace this text with the widget you want to disable.
6. Click the 'Update File' button at the bottom of the editor. The PHP changes are saved, and the disabled widgets are marked in the MySQL database.
2:28 AM | Filed Under | 0 Comments
How to Upload a YouTube Video to WordPress
1. Log in to WordPress and access your Dashboard.
2. Start a new post or a new page, or edit an existing post or page.
3. On YouTube, open the video that you want to upload.
4. Copy the URL of the YouTube video to your clipboard by pressing 'Ctrl C.'
5. Type the shortcode [youtube=URL] into your WordPress entry where you want the video to appear, pasting the YouTube video's Web address in place of 'URL' by pressing 'Ctrl V.' Add 'w=width' and 'h=height' to the end of the URL, with no spaces between these entries, replacing 'width' and 'height' with the desired dimensions of the video. To hide related videos from showing when playback is over, add 'rel=0' to the end of the URL. To show the YouTube search box, add 'showsearch=1.'
6. Publish your post or page. Users who visit your WordPress blog can now watch the YouTube video without having to leave your site.
1:29 AM | Filed Under | 0 Comments
How to Disable the Automatic Date on a WordPress Blog
1. Log in to your WordPress account. Scroll down the left navigation frame of your main page and click 'Appearance.' Click 'Editor,' the last option shown in the 'Appearance' pane.
2. Open the file 'Page Template.' All your blog's 'PHP' files are listed along the right side of this screen. This file is also labeled 'page.php.'
3. Locate the following code and delete it:
4. Click 'Update File' to update the file and remove the date stamp from your posts. Visit your blog and click any of your posts to notice that the date is gone.
2:53 AM | Filed Under | 0 Comments
How to Empty Trash Posts in WordPress
1. Click the 'Posts' heading in the left column of the WordPress dashboard page. This displays your website's list of published and draft posts.
2. Click the blue 'Trash' link above the post list. This displays the list of posts that you have sent to the Trash.
3. Click the 'Empty Trash' button above the list of posts. This deletes all the items in the Trash immediately.
1:40 AM | Filed Under | 0 Comments
How to Change My Self
Change Password
1. Log into your WordPress account.
2. Click 'Users' on the left side.
3. Click 'Your Profile.'
4. Enter a new password twice in the 'New Password' boxes.
5. Click 'Update Profile.'
phpMyAdmin
6. Log into your phpMyAdmin interface. Contact your Web host if you are not sure how to do this, as instructions vary by host.
7. Select your blog's database from the drop-down menu on the left.
8. Click 'Browse' next to 'wp_users.'
9. Click the pencil icon next to 'admin' or the username you want to update.
10. Change the 'Value' field next to 'user_login' to your new username. Use only numbers, letters and underscores, with no spaces.
11. Change the 'Value' field next to 'user_nickname' to the exact same username as 'user_login.'
12. Click the button next to 'Save.'
13. Click 'Go.' Your WordPress username is now changed.
Plugin
14. Log into your WordPress account.
15. Click 'Plugins' on the left side.
16. Click 'Add New.'
17. Type 'change username' into the Term box and click 'Search.' This brings up a list of available plugins that will allow you to change your username.
18. Click 'Install Now' next to the plugin of your choice. Click 'Details' to read more about each plugin, and find one that fits your situation and technical skill level.
19. Click 'OK' in the pop-up box to confirm the installation.
20. Follow the plugin's directions to change your username.
3:14 AM | Filed Under | 0 Comments
How to Edit a WordPress Header in cPanel
1. Scroll to the 'Files' section of the cPanel interface, and click the 'File Manager' icon.
2. Select the 'Web Root' radio button to display the root directory of your server, and then click 'Go'. This opens a new browser tab that displays the files and folders on your server using an interface that looks similar to Windows Explorer.
3. Double-click the 'wp-content' folder to open it.
4. Double-click the 'themes' folder.
5. Double-click the folder for the WordPress theme that you are currently using.
6. Right-click the file 'header.php' and select 'Edit'. The cPanel Text Editor appears.
7. Click the 'Edit' button in the bottom-right corner. This displays the header file for your WordPress website. Use the text editor to make the desired changes.
8. Click the 'Save Changes' button in the upper-right corner of the window to save the file and upload it back to the server.
3:47 AM | Filed Under | 0 Comments
How to Manually Remove WordPress From HostGator
1. Log into your HostGator website control panel. The link, along with your user name and password, was emailed to you when your account was created.
2. Click 'Fantastico De Luxe' from within the cPanel, which is visible when you log into your account.
3. Click 'WordPress' on the left side of the Fantastico De Luxe window.
4. Click 'Remove' to remove WordPress. Click 'OK' to confirm the removal.
2:11 AM | Filed Under | 0 Comments
How to Edit Wordpress Themes
1. If you host your own Wordpress.org Blog then you will have complete access to edit and customize your Wordpress Themes. However, if you have a free blog application through Wordpress.com then you will have limited blog editing capability. Wordpress.org is for self hosted users which means that you pay for your own blog domain name and hosting. The benefit to setting up your own self hosted blog is that you have complete control of how your blog looks. Wordpress.com users can only choose their blog theme, they can't customize them.
2. To customize your Wordpress.org blogging application you will want to log in to your blog admin panel by going to www.yourblog.com/wp-admin - use the user name and password you setup when you first installed your blog and login to the admin area. Once inside the admin section of the blog you will want to go to the Appearance tab on the left hand side of the page on click on Appearance to drop down the options unless it is already opened then you just want to click on Editor.
3. From the Editor page you have the ability to edit any Wordpress themes you have uploaded to your server. On the right side of the page are different pages that you can customize or modify to meet your blogging needs. The most common files you can edit are the style sheet, header, footer, main index or home, archives, search, comments, pages, single page, theme functions, and sidebar.
4. If you want to change the color of your blog or alter images then you will want to do so using the Cascading Style Sheet (CSS). Most of the other files are a combination of advanced HTML and PHP so you will have to know how to read some code before attempting to edit a Wordpress theme. This is where you can change how your blog looks and decide what type of layout you would like to have. Once you learn what you would like to add or subtract from your WP blog you will most likely use this editing section to create a custom design that will set your blog apart from other bloggers.
4:50 AM | Filed Under | 0 Comments
How to Install WordPress for a Blog on Ubuntu 10.04
1. Open a Terminal window and type 'sudo apt-get install apache2'. Follow the on-screen instructions to install Apache.
2. Go back to the Terminal and type 'sudo apt-get install mysql-server-5.1'. Follow the prompts to install MySQL. This might take a while.
3. Return to the terminal and type 'sudo apt-get install php5'. This will install PHP version 5. After it's done, type 'sudo apt-get install php5-mysql' to install the MySQL module.
4. Download WordPress software to your desktop from the official site. Open the downloaded file and follow the prompts to install it.
5. Open a Terminal window and type 'sudo gedit /etc/apache2/apache2.conf'. Type the following line at the end of the file: 'AddType application/x-httpd-php .html'. Save the file and exit.
6. Enter 'sudo mysql_install_db' in the Terminal to prepare MySQL for WordPress use. When the install is completed, enter the command 'mysql -u root -p' to log into the MySQL command-line client. Enter the password you chose to log in to the local client prompt.
7. Create a database for WordPress by entering 'CREATE DATABASE wordpress;'. When the database is created, type in 'CREATE USER wordpressuser;' and then 'SET PASSWORD FOR wordpressuser = PASSWORD('password');', entering whatever password you want in the quotation marks.
8. Type in 'GRANT ALL PRIVILEGES ON wordpress.* TO wordpressuser@localhost IDENTIFIED BY 'password';', and then type 'exit' to quit the client.
9. Create the following directory: '/var/www/wordpress' and then unpack WordPress files into it.
10. Open a Terminal window and type 'sudo gedit /var/www/wordpress/wp-config-sample.php'. Change the value 'putyourdbnamehere' to 'wordpress,' the value 'usernamehere' to 'wordpressuser' and the value 'yourpassword' to the password you chose in Step 8.
11. Save the file as 'wp-config.php'.
12. Open a browser and go to http://127.0.0.1/wordpress, which should show up as the WordPress configuration page. Follow the instructions to configure your WordPress blog.
1:17 AM | Filed Under | 0 Comments
How to Add a Page Template in WordPress
WordPress.com
1. Go to your WordPress.com blog and sign in.
2. Click 'Apperance' on the left and then click 'Themes.' Choose a preinstalled theme to base your template on.
3. Click 'Edit CSS.' This allows you to fully customize the CSS of the page template. If you are using the hosted version of WordPress this is the most you will be able to edit the page template.
Privately Hosted WordPress
4. Find a template online that you want to use. There are hundreds of theme websites available; search 'WordPress themes' in your preferred search engine to begin browsing.
5. Download the template to your computer. Double-click the template archive to extract the contents.
6. Upload the theme folder to the 'wp-content/themes' folder on your Web server.
7. Log into the WP-admin section of your site. Click 'Apperance,' then 'Themes.' Click 'Add New Themes.' Select your theme, then click 'Activate.' This will now implement your new page template to WordPress.
3:13 AM | Filed Under | 0 Comments
How to Import a Word Document Into a WordPress Blog
1. Launch the WordPress Administration Panel of your WordPress blog in a Web browser. The URL will be http://[wordpressblog.com]/wp-admin, where wordpressblog is the name of your blog.
2. Click “Posts,” then click “Add New” or “Pages” and click “Add New.”
3. Click the “Add Media” icon found in the “Upload/Insert” icon group located just above the editor.
4. Click the “Select Files” button and choose the Word document from your computer. WordPress uploads your document to your blog.
5. Click the “File URL” button to ensure that text added to your post will link to the file you have just uploaded.
6. Click the “Insert into Post” button.
2:48 AM | Filed Under | 0 Comments
How to Use JavaScript With WordPress
1. Open up the 'header.php' file for your theme in a code editor. This file is found in the following location:/your-site/wp-content/themes/theme-name/Look for the ending
tag and check that the code
appears above any
tags but below all other tags between
and
. If it is not there, add that line.
2. Add your
tags to include the JavaScripts you wish to use. When the JavaScript is in an external .JS file, include it like this:
/yourscript.js'>
The above code uses
to tell WordPress to look inside your theme folder for the JavaScript. Many developers put all scripts into a folder called 'js' or 'src' to keep things organized. In such a case, remember to include that folder in the path to your script. All JavaScript that is directly on the page goes between
and
tags.
3. When using a JavaSript that depends on a library such as jQuery, MooTools or YUI, you must first enqueue that library. Static HTML websites need you to include libraries as scripts, but WordPress already contains them. Here is an example of how to enqueue jQuery:
Place the enqueue code above
to make it work properly. After enqueing, you can then include JavaScripts that use that library the same way you would include other JavaScripts in WordPress.
6:45 AM | Filed Under | 0 Comments
How to Display Excerpts on WordPress Posts
1. Log in to your WordPress dashboard and display the post editing screen by opening the 'Posts' menu on the left side. Click either 'Add New' or the 'Edit' link under an existing post.
2. Click the 'Screen Options' pull-down menu in the top-right corner of the screen. This displays a menu allowing you to customize the options the WordPress displays on the post editing screen.
3. Click the 'Excerpt' check box to select it, and then click 'Screen Options' again to retract the menu.
4. Scroll below the main text entry area of the post editing screen. You should now see a field labeled 'Excerpt.'
5. Type the summary you would like to use for your post in the 'Excerpt' field, and then publish or update the post to begin using it instead of the default post summary.
1:19 AM | Filed Under | 0 Comments
Popular Posts
-
1. Log in to your Weebly account. 2. Click 'Theme Editor.' 3. Click on the 'Design' tab. 4. Select 'Edit CSS/HTM...
-
1. Sign up for a publisher account at Bidvertiser. Submit basic contact information and confirm your email address to get started. 2. Lo...
-
1. Log in to your WordPress dashboard. 2. Open the 'Appearance' section on the left side of the WordPress dashboard and then cli...
-
1. Open your WordPress Dashboard in your preferred browser. It is accessed at the '/wp-admin' location of your site. For example, ...
-
Facebook Widget 1. Create a Facebook fan page for your blog, if you don't already have one. You will have to manually share content wi...
-
1. Download and install the WordPress for BlackBerry app via BlackBerry App World. Download the version that corresponds with your BlackBe...
-
1. Go to your WordPress blog's administrative control panel. 2. Click the 'Settings' button on the left-side navigation menu...
-
1. Click the 'Add Contact' button on the 'Add New Post' page. This opens the 'Add a Contact Form' page. 2. Click...
-
1. Register an account with Amazon Web Services Cloud. If you have an existing Amazon account, enter your email address in the appropriate...
-
1. Log into your WordPress.com account using your user name and password. 2. Hover your cursor over the 'My Blogs' tab at the to...