leadandfollow
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Theme IssueProbably your header image is taller than the original template was designed for. You could make a header image that is the same dimensions as the original template’s header image, or change the header height in the CSS to fit your image.
Forum: Themes and Templates
In reply to: php syntax helpActually, sorry, these are template tags and do not need to be echoed. Probably you should use functions that are not template tags if you do not want it to be printed.
Forum: Themes and Templates
In reply to: php syntax helpProbably you need to echo the title so that it actually prints:
<?php echo the_title(); ?>Forum: Themes and Templates
In reply to: adsenseIf you have your own hosting, you can do anything you want, including putting the AdSense code directly into the template PHP files. If you don’t want to do it that way, there are probably plugins and widgets available.
Forum: Themes and Templates
In reply to: Mulitple Authors – different sidebarsMy guess is that
$post->post_authoronly has a value for single posts, as the name of the variable suggests.For an author archive, you’d probably need a corresponding “author archive author”. I do not know if WordPress has this functionality built in.
Other types of pages would not have only a single author, right?
Forum: Themes and Templates
In reply to: Which template does the tags page use?I think archive.php is used for tags, categories, and date archives.
One thing you can do is view page source and that might be easier to match the html to php files.
Forum: Themes and Templates
In reply to: Theme Installation Error (Permission denied line 472?)Okay, that is the same theme download that I found earlier.
Fatal error: require_once() [function.require]: Failed opening required ‘xxx/wordpress/wp-content/themes/Infinity-theme/plugin/header.php’ (include_path=’.:/usr/local/lib/php/library:/usr/local/share/pear’) in /xxx/wp-includes/theme.php on line 472The error message is saying that it can’t read the …/Infinity-theme/plugin/header.php file. It did not have read permissions set in the download package. You need to set read permissions on the header.php file. How to do this depends on your hosting provider.
Also, I am not sure you are supposed to have the plugin folder inside the Infinity-theme folder inside the themes folder. Did you move some files or folders around? The file path should look more like “xxx/wordpress/wp-content/themes/Infinity-theme/header.php”. And the plugin folder from the download package should go in the wp-content/plugin folder.
Forum: Themes and Templates
In reply to: Theme Installation Error (Permission denied line 472?)I searched for an Infinity theme and the download I found has a file …/Infinity-theme/theme/header.php that does not have read permissions.
However, I see from your error messages that the file path mentioned is …/Infinity-theme/plugin/header.php which is strange.
Can you provide a link to the theme download site that you used so that we know what you are working with?
In any case, the error message suggests that the files mentioned are not readable. That is a bug in the download package. You need to set read permissions on the file.
Forum: Themes and Templates
In reply to: Widgets title: use blank?That should be how to do it according to the documentation. So my next questions are:
Are you sure you are editing the code that is producing the sidebar widget you are looking at?
What version of WordPress are you using?Forum: Themes and Templates
In reply to: moving sidebarThere could be any number of reasons why the sidebar is moving up and down, so we can’t help debug unless we have something to debug….
Mind sharing? Is it legit?
Forum: Themes and Templates
In reply to: Branford Magazine – front page screwy in FirefoxCan you provide a link to what you are referring to that the theme author says it was successfully tested in FireFox?
Forum: Themes and Templates
In reply to: Monotone theme– problem with margin around image…We need to be able to see what you are describing as well as have access to the CSS stylesheet via your Web site or at least the theme’s demo/download site.
Forum: Themes and Templates
In reply to: unexpected T_STRINGA good debugging question to ask yourself is, what code did you add right before you saw this error? Anyway, I see two syntax errors.
On line 37, you have a php code segment starting with only
?php. The start of php code should be<?php.On line 38, you have a php code segment ending with only
?. The end of php code should be?>.I’ll let you try to find those.
Forum: Everything else WordPress
In reply to: Hide comments to everyone but author?How about having users submit a form that is e-mailed to you instead of using the comments?