Don Betts
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Twenty Eleven Theme, Creating Ad space above the Header picture.Create a header.php file in your child theme folder and cut and paste everything from the header.php file of Twenty Eleven. In the header.php of the child theme just add a div after the header element and before hgroup like this:
<div id="page" class="hfeed"> <header id="branding" role="banner"> <div id="adspace">put what ever you want in here</div> <hgroup>Now you can style it however you want in the child style.css using #adspace, or whatever you want to call the div.
Good luck
Forum: Themes and Templates
In reply to: Excerpt ProblemI’ve used this on a site where I wanted a different excerpt length on the homepage. Put it in your functions.php file:
function new_excerpt_length($length) { if (is_home()){ return 85; } else { return 40; } } add_filter('excerpt_length', 'new_excerpt_length');Play with the two numbers until you get the right length for the home page- the first number is what will show on the home page, the second number is what will show for the excerpt anywhere else.
Good luck!
Forum: Themes and Templates
In reply to: How to remove Top Menu?In 325 of your style.css file on the element #secondarymenu add the line:
display:none;you can keep all the other stuff there or delete it – might be best to keep it if you ever decide to use that menu again.
Good luck!
Forum: Fixing WordPress
In reply to: WordPress is not showing my titles when I postIn line 2045 of your style.css you have:
entry-header { display:none; }delete display:none and it will show up.
You’ll likely also want to add:
background:transparent;
to the entry-header line just so it shows your background image.Good luck.
You’ll need to add support for custom menus to the theme you’re using, and then add a menu where you want it in your theme – likely in the in the header.php file. Here’s an easy tutorial on how to do that: http://www.wpbeginner.com/wp-themes/how-to-add-custom-navigation-menus-in-wordpress-3-0-themes/
Depending on how the menu was built the custom menu should replace the old menu. If the menu was built just using pages for the main nav (the old school way) this will work. If, however, the menu was hard coded into either the header.php or functions.php you’ll want to go in and delete that code (it will be easy to spot, it will be a list of your navigation links).
Forum: Fixing WordPress
In reply to: Inserting SermonsIn a post or page click ‘Upload/Insert’ below the title and upload the file from your computer (drag and drop into ‘Drop Files Here’ box, or insert it from your media library. You can give the sermon a title. When posted and a person click on the link most browsers will open a media player and play the file.
If you do want an image instead of a text link, switch over html in the post editor and and add a link to the image after the source to the file:<a href="http://url-to-the-audio-file-is"><img src="http://url-to-image-you-want-to-use" alt="Link to Sermon..."></a>You can add as many audio files as you want in one page or post.
Forum: Fixing WordPress
In reply to: Add links metabox to custom post typeI’ll check it out. Thanks.
I think WordPress is actually asking for the username and password for your macbook user account. Mine does this since I switched to Lion. Some permission thing.