-
▼
2013
(302)
-
▼
March
(26)
- How to Fix a Redirect Error in WordPress
- How to Add Meta Tags in WordPress
- How to Install Volusion Shopping Cart on WordPress
- How to Get the WWW in the URL in WordPress
- How to Enable SEF URLs in Wordpress
- Tutorial on How to Back Up Your WordPress Blog
- How to Move a Drupal Blog to WordPress
- How to Get Text Wrap on a WordPress Blog
- How to Modify WordPress Twenty Ten Headlines
- How to Manually Place a Tagline in a Wordpress Header
- How to Put a Donation Button on a WordPress Blog
- How to Insert PHP Into WordPress
- How to Make Static Text in WordPress
- How to Reinstall the Default WordPress Theme
- How to Change a Table Background Color in Hover Wo...
- How to Put a WordPress Theme on GoDaddy
- How to Move Joomla Posts to WordPress
- How to Disable Blog Features in WordPress Admin
- How to Block IP Addresses in WordPress
- How to Transfer a WordPress Blog to a New Web Host
- How to Create a WordPress Page
- How to Make a WordPress Blog Part of Your Website
- How to Install a Plugin In Wordpress
- How to Change a WordPress PHP Call for a Style She...
- How to Increase Size Import Into WordPress 3.0
- How to Insert Breaks Into WordPress
-
▼
March
(26)
adsense
How to Change a WordPress PHP Call for a Style Sheet to a Full Path
1. Go to the 'wp-admin' directory of your website and log in to WordPress. Navigate to 'Appearance' and click the 'Editor' link. Locate 'header.php' under 'Templates' on the 'Edit Themes' screen.
2. Locate the '
' tags in 'header.php' that reference your style sheets:
' type='text/css' />
/css/mystyles.css' type='text/css' />The first example shows a '
' tag containing a PHP function that points to the main 'style.css' file in the theme. In the second example, the function points to the directory of the theme and combines with HTML to create a URL to a style sheet in the 'css' folder.
3. Remove the PHP delimiter tags and anything contained between them. Remove the first forward slash as well:
This path will not work by itself in WordPress. You will need to point to the full path of the theme directory as well as the style sheet.
4. Convert the relative file path into a full path:
Above, the full path begins with 'http://' and is followed by the domain name. Add 'wp-content/themes' plus the name of the directory where the theme is located to complete the file path. Update the file to save its changes.
8:48 AM | Filed Under | 0 Comments
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...
Post a Comment