Technokinetics
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Alternating Header Image?The codex offers some help on rotating header images.
You may find that once you’ve set this up it works in every browser except FireFox. If so, just post back here for help with that issue.
Forum: Fixing WordPress
In reply to: how to insert an image into the $output of wp_list_pages() tree walkYou could use this.
Tim
Forum: Everything else WordPress
In reply to: Content thiefDepending on where they are, this could be very difficult. Filing a DMCA complaint with Google could at least prevent them from showing up on searches though.
Forum: Plugins
In reply to: save_post called repeatedlyThe save_post action is called twice on every save. You could use a flag to only execute whatever code you’re hooking into it once per save.
Forum: Themes and Templates
In reply to: change wp_list_pages to static linkThe line that’s creating your “The Offical Forum” link is
<?php wp_list_pages('title_li='); ?>. If you replace that with<li><a href="targeturlgoeshere">Link Text Goes Here</a></li>, then that will replace it with a static link.I’m a bit worried that in the code above your list items
<li>...</li>aren’t wrapped in<ul>...</ul>tags, but on your site the<ul>...</ul>tags seem to be there.Forum: Fixing WordPress
In reply to: Problems with Registration…This can happen for a number of reasons to do with your server configuration. You can either troubleshoot the server configuration issue (focuaing on the PHP mail() function), or use the WP Mail SMTP plugin (which I think is great).
Tim
Forum: Plugins
In reply to: dbx_page_sidebar successor in 2.6?Sounds more like add_meta_box to me, but I could be wrong.
Forum: Themes and Templates
In reply to: new pagesForum: Fixing WordPress
In reply to: How to stop a new page from being a tab on the top bar?If you’re having trouble editing the code, then you might be better off installing this plugin.
With the plugin, you just have to uncheck a box in the Manage > Page screen, save, and the page will be excluded from your menu.
Tim
Forum: Fixing WordPress
In reply to: Make it so title and description don’t show?Check your header.php theme file for
<h1><?php bloginfo('name'); ?></h1>and<h2><?php bloginfo('description'); ?></h2>. They’re the lines that you need to remove.Forum: Everything else WordPress
In reply to: I need helpI really feel stupid for this, but…
Don’t! Plenty of people need help getting started.
I really hope you find someone who’ll take the time to set you up properly and show you how to do what you need to do.
Tim
The three links in my post above take you to the relevant sections of the relevant page in the codex, which is close to a step-by-step guide.
If you have a go and have problems, then if you post back here you may well get a response.
I think a better solution would be this:
– Convert your static html page into a Page Template.
– Create a Page called “Home” within WordPress, and make it your home page.
– Assign this page the Page Template that you’ve created.Forum: Fixing WordPress
In reply to: Different header images for different pagesensure the images you’re using have the same name as the slug of the page
Nice idea this. It saves storing the image file name in a custom field (or similar). Like it.
Forum: Fixing WordPress
In reply to: image align left but no space between image and textAs this is to do with the presentation of your site, you should really do this through your style.css theme file. Assuming that your post content is wrapped in <div class=”postContent”>, add this line (anywhere will do, but near related lines is best):
.postContent img { margin: 10px; }
This will add 10 pixels of space all around the images within your post content. To change the amount of space, change the number 10.
Unfortunately, when you add an image through the media uploader, WordPress adds instructions that can conflict with this. If you go to the Manage > Post screen for your post, switch to the code view, and locate the image code <img src=”… />, you may see some margin / padding declarations there. The best thing to do is to delete these (just the margin and padding declarations) so that you can control this through your stylesheet (i.e. your style.css theme file).
Hope that makes sense!
Tim