Alex Cragg
Forum Replies Created
-
Forum: Plugins
In reply to: Author avatars?have a look at gravatars. you sign up, and then your email address is linked to an avatar. They have a wordpress plugin download on their site too.
Forum: Fixing WordPress
In reply to: Sidebar widgets in multiple sidebarsoh and also in your code, it shouldn’t say
dynamic_sidebar('Sidebar 1')it should just bedynamic_sidebar(1)or 2 obviouslyForum: Fixing WordPress
In reply to: Sidebar widgets in multiple sidebarshave you checked your functions.php file?
it should have the total number of dynamic sidebars in the brackets like so
<?php if ( function_exists('register_sidebars') ) register_sidebars(2);?>Forum: Fixing WordPress
In reply to: Sidebar widgets – how do I remove title bar/headeropen up the widget’s php file and look for this line
$before_title . $title . $after_titlefor the relevant widget. edit it out or delete it. that will remove the code that opens the title, puts the title in and closes the title code. your other issue is probably css based, and will vary on your theme.Forum: Fixing WordPress
In reply to: Only homepage footer linkssorry, wrong link location. try here
Forum: Fixing WordPress
In reply to: Only homepage footer linkshave a look at conditional tags
Forum: Themes and Templates
In reply to: Dynamic menu highlighting using “wp_list_categories()”i have this functioning on my site using the fold page list plugin. but in effect im sure it works the same.
at the start of my list, after the<ul>i have placed `<?php
$pg_li=”page_item”;
if (is_home()) {$pg_li .=” current_page_item”;}
?>`
this asigns the current page item the class current_page_item(!)
do this first then view your source, you should see that whichever page you are on now has this class, and all others have page_item.now you need to assign the current_page_item class some css, i have had to include some !important tags to overrule some others, so that it functions how i wanted, in my case so that a parent page is highlighted when on that page, but any child pages remain unhighlighted. then when you click on a child page, this and only this page is highlighted, and the parent page returns to its normal colour.
the css i used is as follows
.current_page_item a {color: #ffffff !important; background: #B40000; } .current_page_item ul li.page_item a {background: none; color: #50709A !important; } .current_page_item ul li.page_item a:hover {background: #B40000; color: #ffffff !important; }this also includes some hover effects. you will need to change the colours to fit your theme.
hope this works for you both
Forum: Fixing WordPress
In reply to: Hackedjust read hardening wordpress out of interest, does this mean that wp-content files can be changed by anyone in the standard install? it says “/wp-content/ — variable user-supplied content: intended by Developers to be completely writable by all (owner/user, group, and public).
* /wp-content/themes/ — theme files. If you want to use the built-in theme editor, all files need to be group writable. If you do not want to use the built-in theme editor, all files can be writable only by your user account” ” how would someone do that and how can i stop them if i still want to use the built in theme editor?
Forum: Plugins
In reply to: Different widget setup for different pages ?you can create more than one dynamic sidebar, check out my tutorial. You will need to do it a bit different, and add an if statement, so is_page or is_home then register sidebar 1, is_single then register sidebar 2. Conditional tags and Automattic widget page – there is info on there about more than one dynamic sidebar. hope this helps
Forum: Themes and Templates
In reply to: How to display posts from one category on the sidebar?look at using
<?php query_posts(); while(have_posts()) : the_post(); ?>and read up here
Forum: Themes and Templates
In reply to: Deleting the sidebaryeah, you need to resize, in your css, the other elements to compensate for the new space.
difficult to say exactly without a link to your site, but i’d guess you want to increase the width of your page/content ids.
Forum: Themes and Templates
In reply to: Deleting the sidebargo through all your files like index.php, single.php, archives.php, categories.php, and any custom templates you have made, and look for <?php get_sidebar(); ?>. delete that line.
Forum: Plugins
In reply to: Video Postingso you want us to do your project…;-)
Forum: Themes and Templates
In reply to: Tutorial: How To Create A WordPress Themeit looks like a good read, ive bookmarked it for after my exams, but i noticed that the image you link to gives a 404.
Forum: Everything else WordPress
In reply to: WP Program to use whenive been thinking about this too, adobe have released something called apollo and ebay have designed something so that you can create a new auction without being online, and then when you connect, it sends all the info you’ve saved to the site, and the new item is added as though it had been done live.
designers can use java/flash/ajax etc to build a Rich Internet Application, and i reckon wordpress would be a perfect application to use this new software.
anyone out there that can build it?!