hieu.nguyen
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Unable to add a link on a postUsually it looks like this
<a href="link-url">Link content</a>
Forum: Themes and Templates
In reply to: Unable to add a link on a postDo you have a link?
Can you copy the anchor tag for that link when you view source?Forum: Themes and Templates
In reply to: Setting a diferent Page BG for various templatesFirst you have to create a new page template for that special page.
You can duplicate the current page.php, and name the new file page-a.php for example.
Then at the beginning of that new file, add this
/**
* Template Name: YOUR NEW TEMPLATE NAME
*
*/This will allow you to select the new template from the back-end.
In that new template, you also have to assign a new class to <body>, say class background-a
Then you have to add css.
body.background-a { background:url(location/fileA.png) no-repeat; }Forum: Themes and Templates
In reply to: Unable to add a link on a postDid you click on “Update” after editing the post?
Try to press F5 and view source to see if tag is generated.Yeah it’s weird because the advanced-cache.php can only throw some error strings into the screen. It can’t cause 500 server error.
500 error usually happens when you mis-config something (wp-config.php) or something goes wrong with .htaccess.
My advice: try to comment out each section in the advanced-cache.php to see which line causes the trouble (very old method of debugging lolz).
Forum: Themes and Templates
In reply to: Is it wrong to build a theme completely in index.php?The basic must-have files for a template are only: index.php and style.css.
So it’s not wrong ??
Forum: Developing with WordPress
In reply to: jquery and seoCan you copy and paste the code in robots.txt here?
If you Disallow access to wp-includes, that page should not be indexed.Forum: Plugins
In reply to: [WP Super Cache] [Plugin: WP Super Cache] broken, let's fixI had the same problem and I figured that out.
Go to your wp-config.php (located at WordPress root) and fix the path here:
define( ‘WPCACHEHOME’, ‘new-path-goes-here’ ); //Added by WP-Cache Manager
If you want to know the current path, learn more here
OK I figured that out.
Go to your wp-config.php (located at WordPress root) and fix the path here:
define( ‘WPCACHEHOME’, ‘new-path-goes-here’ ); //Added by WP-Cache Manager
This is confusing because of the message ??
I had to dig the code to find that out. There are tons of posts asking for this, I will go around and answer all of them ha ha.I have that problem also. Can you point out where the fixed path is located so that I could manually edit it. It’s clearly not in wp-content/advanced-cache.php
Thanks Macguru2000 for your prompt response. I also figured out that, couple of minutes after posting this one.
This is a great plugin. I have rated it 5 stars. Thanks ??