Michael Fields
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: how can I rid sidebars?provided that you do not want this content at any time in the future, the quickest way would be to, open and erase all content in your current theme’s sidebar.php ( if you have more than one side bar, please do the same to these files as well ) and then delete most of the code from footer.php – NOTE: you will want to make sure that you don’t delete closing tags that were opened in header.php like
<html>, ‘<body>’ and any random<div>‘sForum: Installing WordPress
In reply to: Static Home Page BlogBut I wanted to know if it’s possible to use WordPress as a CMS?
Yes, WordPress is a Content Management System.
For eg, can I have a static page as my front page and the actual blog residing in the /blog folder on my web host?
Yes, Please read this.
Forum: Plugins
In reply to: This is a bit over my head….$display_categories = arrayI am confused… please describe what you are trying to accomplish.. The link you posted goes to a client galleries page… I am confused..
Forum: Plugins
In reply to: This is a bit over my head….$display_categories = arrayYou can just set the array in your first foreach loop:
<?php $display_categories = false; $categories = get_categories( 'child_of=20' ); foreach ( $categories as $cat ) $display_categories[] = $cat->cat_ID; if( $display_categories ) { foreach ( $display_categories as $category ) { query_posts( "showposts=1&orderby=rand&cat=$category" ); while ( have_posts() ) { the_post(); ?> <div class="cat-3content"> <div align="center"><a href="<?php echo get_category_link($category);?>"><?php echo the_excerpt(); ?></a></div> <h6><a href="<?php echo get_category_link($category);?>"><?php single_cat_title(); ?></a></h6> </div> <?php } } } ?>Forum: Everything else WordPress
In reply to: How long does it take to build a blog using wordpress?Maybe the answer to this is “it depends”.
This is completely the answer. There are so many things that you could do that it is really hard to say how long any of it will take. If you have a host woth a “one click install”, then installation will be a breeze (a couple of minutes).
What happens to the timeline if we want to design our own theme?
It will drastically increase… Best to go with an already developed stable theme that is well support by it’s author.
Could a designer familiar with Dreamweaver build a theme?
This is a weird question… I’m a designer familiar with Dreamweaver, but I haven’t used it in about 3 years… Basically, if the designer can hand-code you have a pretty good starting point. If the designer is fluent with php + mysql – you have a very good starting point… Just don’t expect to be able to use much of Dreamweaver’s functionality outside of being a text editor + FTP application.
My advice would be to figure out how you want the site to look and search for a theme that best suits your vision. Free Themes can be found here: http://ww.wp.xz.cn/extend/themes/
Hope this helps,
-MikeForum: Themes and Templates
In reply to: what theme is thisI think that is Joomla. Try posting here: http://forum.joomla.org/
Forum: Plugins
In reply to: More Than One Thumbnail Sizehttp://codex.ww.wp.xz.cn/Version_2.8
On April xxth, 2009, WordPress Version 2.8, named for xxxxxxxxxxxxxxx, will be released to the public.
Soon???
Forum: Fixing WordPress
In reply to: HTML only pageI would suggest that you make a Custom Page Template. The only php you will need to use is a comment at the top of the document, after that you can put any html that you want:
<?php /* Template Name: Custom HTML Page */ ?><ENTER YOUR HTML HERE>Upload this file to your current themes directory. Log into WordPress. Create a new page, enter a title and apply this Template. All there is left to do is Publish. Using this method, you can have a static html page that will still show up in wp_list_pages();
Forum: Plugins
In reply to: More Than One Thumbnail Size2.8 should have integration with jcrop which is pretty exciting. check out a demo here:
http://deepliquid.com/projects/Jcrop/demos.php
Haven’t seen it in the nightly builds yet though…
Forum: Themes and Templates
In reply to: Looking for a ‘American’ themeHere’s a couple of links. None are exact, but something might work for you.
http://myblogit.net/2008/01/31/free-wordpress-themepolitical-politics/
http://jeremysarber.com/2008/08/01/new-patriot-wordpress-theme-for-sale/
http://demos.jeremybuff.com/conservative/
http://ithemes.com/free-wordpress-themes/ (scroll down)Forum: Everything else WordPress
In reply to: Sidebar depending on URL/subpagesSomething like this would work:
$ancestors = get_post_ancestors( $post->ID ); $root_parent = 15; if( in_array( $root_parent, $ancestors ) ) # DO STUFFNot sure… I was able to copy it and paste in a blank document which I saved to my desktop. When I opened this file in my web browser – everything seemed to work fine. I was even able to put it on my MySpace profile without a problem…
The problem seems like it has to do with google’s filtering of your content. A few questions:
- Where did you post it on goolge?
- Are you able to post other images there like this one?
- Can you provide a link?
- Have you tried to use the code on a page other than Google?
Forum: Plugins
In reply to: More Than One Thumbnail SizeCheck out the settings under: Setting -> Media. Here you will find 3 different that WordPress generates for you whenever you upload an image. This makes for a total of four sizes per image upload:
Original
Large
Medium
ThumbnailForum: Everything else WordPress
In reply to: wordpress newbie questionsNope, I did not mean to imply that at all. When I said
I would be absolutely lost without knowledge of php and mysql
I completely meant it. What I meant to communicate in #3 – is that it may be possible to find a theme that does the job well enough needing only minor adjustment from an expert developer… it may also be pretty hard… it all depends on the how “custom” you need to get with things. It may also be pretty easy… really, it all depends.
If I werre to offer you advice, it would be to set up a WordPress “Sandbox” and get a feel for it and see what you can or can’t do with it before you offer it as a professional service.
Best of luck,
-MikeForum: Themes and Templates
In reply to: How to show parent-gallery on image.phpyep…
<?php $gallery_shortcode = '[gallery id="' . intval( $post->post_parent ); . '"]'; print apply_filters( 'the_content', $gallery_shortcode ); ?>