Arnold Goodway
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Header Tagline out of margin?If you add padding to the #headerimg .description element in your stylesheet the distance between the tagline and the sides of the box will be increased.
Forum: Themes and Templates
In reply to: The MasterplanIn the WordPress back-end go to Appearance, Themes. This is where you will activate the new theme.
Forum: Themes and Templates
In reply to: How to modify the_excerptA quick and easy way would be to type your own excerpts when you publish your posts. If you enter something in the excerpt box in the post editor only that which you enter will be shown in the excerpt.
Another way would be to code to show the full content. You then however add a more link to the post. This will ensure that only the bit before the more link is shown.
Forum: Fixing WordPress
In reply to: Comment-author’s website link takes user off my siteYour query has really got me thinking. By default WordPress adds a ‘nofollow’ link to the comment author’s site. This fact got many people up in arms and it in fact started the entire ‘dofollow’ movement. There are even plugins to ensure that these links are made ‘dofollow’ in WordPress.
You now want to exclude the URLs totally. On most WordPress blogs this field is not compulsory, your commenters can leave it out when commenting. I am assuming that when you comment on other sites you do not leave your link on them.
It will be interesting to see just what reaction this is going to get from the followers of your blog. It is sad but if the truth be told, many only comment because of the link.
Your comment on opening links in a ‘new’ window also opens up another can of worms. Doing this means that your XHTML will not validate.
Forum: Plugins
In reply to: WP-Page Navi – How to activate?You need to add the following code to the bottom of your index.php file:
<?php if(function_exists('wp_pagenavi')) { ?> <div class="page-navi"> <?php wp_pagenavi(); ?> </div> <?php endif; ?>
This code is normally added at the bottom of the page just before the call:
<?php get_sidebar(); ?>
You now have to style the class page-navi to suit your requirements.
Forum: Fixing WordPress
In reply to: SearchThemes could differ here but you should have a file called searchform.php. This file contains all the code for the entire search form which is used by the search widget. The code you are looking for is:
<?php _e('Search for:'); ?>
Replace the words ‘Search for’ with whatever you require. Hope this helps.
Forum: Themes and Templates
In reply to: Page Names are preceeded by a colonNear the top of your header.php file you will find
<title>
tags. Inside these you have placed the colon that is now the problem. Hope this helps.Forum: Themes and Templates
In reply to: saving themesThe easiest would be to go to your WordPress back-end. Here you navigate to Appearance, Add New Themes. From this page you can search for the themes you require as well as download them straight to your site. If this feature has not been set up on your site before you will require the ftp details as provided by your hosting company.
Hope this helps.
Forum: Fixing WordPress
In reply to: Remove certain categories from site RSS feedYou will need to place something like this in your functions.php file:
function myFilter($query) { if ($query->is_feed) { $query->set('cat','-99'); } return $query; } add_filter('pre_get_posts','myFilter');
The number 99 refers to the index of the category you want to exclude from the feed. Do not forget to add the minus before the number you are going to put in here.
Hope this helps.
Forum: Themes and Templates
In reply to: after clicking on READ MORE page messes upYou will find the difference in the title=”” bit.
Search your file for the words related posts. Just underneath this you should find the code that actually places your related posts. It is in this part that you will find this code for each entry.
It could be that you are using a plugin for related posts. If this is the case somehow the code in the plugin itself has been corrupted. In this is the case I would recommend a fresh download of the plugin.
Forum: Themes and Templates
In reply to: after clicking on READ MORE page messes upIn single.php you seem to have a problem with the related posts. For each of the posts you have a line like this:
<li><a href="https://test.heavenly-sword.nl/?p=721" title="<div class="postavatar"><img src="https://test.heavenly-sword.nl/wp-content/uploads/icons/enslavedgamestmthumb.jpg" width="140" height="140" alt="gamestm-photos-and-info" border="0" /></div>
I am not quite sure what this code should be but as it is at the moment you are opening a div inside the title attribute of the links. This is what is causing the problem. This code most probably has to be something like this:
<li><a href="https://test.heavenly-sword.nl/?p=721" title=""><div class="postavatar"><img src="https://test.heavenly-sword.nl/wp-content/uploads/icons/enslavedgamestmthumb.jpg" width="140" height="140" alt="gamestm-photos-and-info" border="0" /></div>
Hope this helps.
Forum: Themes and Templates
In reply to: a couple 42 walls needsIn your stylesheet you need to replace the following elements with something similar to the code shown below:
#header{float:left;width:100%;margin:10px 0} #header h1{float:left;margin:0;padding:0;width:950px}
Now you will need to add the following to your stylesheet if the elements are not there already:
#header h1 a{padding:0;margin:0;width:950px;height:150px;display:block;background:url(images/header.png) no-repeat top left} #header h1 a span{display:none}
The width and height settings above need to be changed to the exact dimensions of your header image.
Now in header.php you will have to find the code that places the name of the blog in the header. This code needs to be replaced with something like this:
<h1><a href=""<?php">/" title="Click for home"><span><?php bloginfo('name'); ?></span></a></h1>
This will give you a header graphic that is clickable at any place on the graphic. The name of the blog will also no longer be there. Hope this helps.