Deewon
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: If user is Editor then….After some research I found its simpler to call their capability than role. So best way is to pick something the role can do then call that. I also decided to allow contributors so I went for ‘edit_posts’.
if( current_user_can( 'edit_posts' ) ) { <h3>Your Profile | <a href="/wp-admin/">Admin Page</a></h3>; } else <h3>Your Profile</h3>;
Forum: Fixing WordPress
In reply to: Optimising my website?I haven’t put any in, I’m guessing the website gets cached anyway and that report is on a first visit basis. Just want to make sure before I launch that people coming don’t wait longer than they have to if I put the effort of compressing in.
Forum: Fixing WordPress
In reply to: Optimising my website?Thanks ?? that got me down to:
14.4K 633.60 seconds
28.8K 323.20 seconds
33.6K 278.86 seconds
56K 172.43 seconds
ISDN 128K 61.69 seconds
T1 1.44Mbps 17.04 secondsMy website does have alot of images which I have compressed with photoshop so there is not much I can do about that taking up load, just need to working on maybe reducing my javascript load time?
Forum: Fixing WordPress
In reply to: Optimising my website?Anyone? could it be a case of my web host being a bit slow?
Forum: Themes and Templates
In reply to: Adding login and register features?I went for the theme-my-login and added buttons to my website that link directly to the login/register pages.
Forum: Themes and Templates
In reply to: Adding login and register features?Also found this plugin which looks like a simpler option.
Forum: Themes and Templates
In reply to: Adding login and register features?I’ve managed to make login and register links with those functions.
What I’m after is information on customising the ‘wp-login.php’ and ‘wp-login.php?action=register’ pages so they just look like a page within my website instead of a seperate wordpress page.
However I think I found the relevant information here:
Going to give it go soon as I get the chance.
Forum: Fixing WordPress
In reply to: Add thumnail support to theme?Nevermind, I’ve just found out the featured box is my new thumbnail box, was renamed in 3.0 and all the guides I found were 2.9 so I was a bit lost. Also have a featured box in my theme which threw me a bit further ??
I’ve managed to get it to work and show in my posts, just restyling it ??
Forum: Fixing WordPress
In reply to: How can I make my menu act like the Twenty10 menu?I tried a straight copy paste but my menu just ended up completely un-styled.
I don’t know whether its an issue that my template CSS reverts to the menu as;
#main_menu
whereas twenty10 calls it;
#access .menu-header,
Forum: Fixing WordPress
In reply to: Submenus under Menu Items?anyone?
Forum: Fixing WordPress
In reply to: Submenus under Menu Items?I found this in the twenty10 template:
<?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?>
And I’m currently using:
<?php wp_nav_menu( array( 'theme_location' => 'menu-1' ) ); ?>
Is that defining drop down menu options?
Forum: Fixing WordPress
In reply to: Pages showing categories?Is the menu builder a feature of WordPress 3.0 or is it a plugin? Either way where do I find it?
– Thanks
EDIT: Nevermind, I found it ?? but my theme doesn’t natively support it so I might have to look for another.