Devin Price
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Customising custom postYou could use the widget logic plugin (if it actually is a widget):
http://ww.wp.xz.cn/extend/plugins/widget-logic/With the conditional code:
!(is_singular('portfolio'))You can read more about conditionals with custom post types here:
http://codex.ww.wp.xz.cn/Conditional_Tags#A_Post_TypeForum: Themes and Templates
In reply to: How to create différent portfolio pageUse the portfolio tags to categorize each item (event, illustration, etc.). Then create a new menu item (using the WordPress menus) to link to that tag. I forget exactly what the link is, but if you click on the tag link when you are viewing the single portfolio item it should take you there.
Forum: Themes and Templates
In reply to: Design with tables?If you’re looking for a way to build a design out how you’re used too with tables, I’d recommend trying out the Builder Theme (costs money). It work like tables in that it allows you to set up different blocks of content and easily choose how those are styled and what goes where.
If you don’t want to learn CSS, I think that solution will probably work out better for you.
Forum: Themes and Templates
In reply to: Thirtyten – what file to add div's in the new third columnIs the additional sidebar registered in the functions.php file? (If not, go to your widgets you should see the additional area)
If not, check Aaron’s code in the functions.php file and bring it in.
Forum: Hacks
In reply to: Limiting what pages WordPress queriesYou can delete post revisions: http://www.mydigitallife.info/2008/07/22/how-to-delete-existing-wordpress-post-revisions-storedsaved/
There’s also plugins that do this (perhaps more safe).
Give you database a little optimization (also plugins for that).
Move to a host like wpengine.com that has a ton of optimizations in the hosting environment.
Forum: Themes and Templates
In reply to: WP NavigationOh nevermind, now I understand the question.
Try doing it with css instead. Add a right border to all the items, and then remove it from the last one.
Forum: Themes and Templates
In reply to: WP NavigationI thought you want something after the a tag?
Just update
'after' => ' | ',to whatever you want. Leave it blank if you don’t want anything:
'after' => '',Try replacing:
<div id="logo"> <a href="/" title="home"><img src="<?php bloginfo('template_directory'); ?>/images/logos/<?php echo get_option('logo_pic');?>"></a> </div>With:
<div id="logo"> <a href="<?php bloginfo('url'); ?>" title="home"><img src="<?php bloginfo('template_directory'); ?>/images/logos/<?php echo get_option('logo_pic');?>"></a> </div>in header.php for the home link.
Forum: Themes and Templates
In reply to: Changing namesYep. Rename the folder, and/or change the information at the top of style.css.
You’ll need to reactivate after you change the name. Keep a copy just in case there’s an issue.
Forum: Themes and Templates
In reply to: Need Help With Category Page Template!Okay, there’s a lot of questions in there. I’ll try to answer some of them.
First off, try to post your code in pastebin.com directly in the post here. You never know what could be in a file.
2) Delete your inline styling for the title tags. You can use the dynamic body classes instead. http://codex.ww.wp.xz.cn/Function_Reference/body_class.
Look at the source when that template is used and you can see all the body classes available- page-template-(template file name) is what you’d need.
3) You’d need a conditional:
if ($count <= 3) { the_title; the_content; } else { the_title; }4) Maybe this would help: http://codex.ww.wp.xz.cn/Customizing_the_Read_More
Forum: Themes and Templates
In reply to: Entirely custom theme?The way WordPress does it will actually be way better for search engines.
You’ll actually need to copy the text out, and paste it into the WordPress editor (and then upload the individual images separately into the page).
If you have a ton of pages, you could probably hire someone to help you move them over. But if you have less than 50 or so, it’ll likely just take you an afternoon.
Forum: Hacks
In reply to: Limiting what pages WordPress queriesWhat does the query look like to display the 50 pages?
Caching should help at any rate if you don’t yet have it installed: http://ww.wp.xz.cn/extend/plugins/w3-total-cache/
Forum: Themes and Templates
In reply to: designate background colorGenerally this is done in style.css of your theme.
You could add something like:
body {background:#000;}To make it black, for instance.
Forum: Hacks
In reply to: Custom Plugin Tag in PostIt’s called a shortcode:
http://codex.ww.wp.xz.cn/Shortcode_APIForum: Hacks
In reply to: Extending Custom Post TypesI also have a tutorial for doing custom meta boxes with custom post types: http://wptheming.com/2010/08/custom-metabox-for-post-type/