Equal
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: need an e-mail submission form for photos for my siteIf you want a form on your site you should take a look at Gravity Forms – http://gravityforms.com
This does pretty much everything with forms!
Forum: Fixing WordPress
In reply to: Cant access my admin panel nor websiteWhat errors or messages are you receiving when you try?
Forum: Fixing WordPress
In reply to: Several query_posts wont work..The
query_postsargument would need to look like this:<?php query_posts( 'cat=-3&posts_per_page=3'); ?>Forum: Fixing WordPress
In reply to: User level categoriesIf it has an archive.php then do it in there, if not then index.php.
Forum: Fixing WordPress
In reply to: User level categoriesWhere to past it depends on your theme but I would go for
category.php.I would do this:
<?php if(in_category( array( 5,10 ) ) { // if the current post is in categories 5 or 10 ?> <?php if ( !is_user_logged_in() ) { // check whether the user is logged in ?> <p>You'll need to be a member to view this content.</p> <?php } else { // user is logged in so go ahead and show content ?> <?php the_content(); ?> <?php } ?> <?php } ?>Forum: Fixing WordPress
In reply to: Show thumbnail in excerpt only?Replace this:
<?php the_post_thumbnail('thumbnail'); ?>with this:
<?php if(!is_single() ) { ?> <?php the_post_thumbnail('thumbnail'); ?> <?php } ?>That should only show the post thumbnail on pages that are not the posts permalink (single) page.
Forum: Fixing WordPress
In reply to: lists not showing up correctly in blogTry what @alchymyth suggests. alchymyth is right in that you need to redefine your list type.
Forum: Fixing WordPress
In reply to: Show thumbnail in excerpt only?Are you adding the image in the content of the post. Inside the WYSIWYG editor?
Forum: Fixing WordPress
In reply to: Show thumbnail in excerpt only?Therefore it is probably a call to
<?php if(is_single() { ... } ?>that is causing the thumbnail to show on the single posts pages. This will probably be in index.php.Forum: Fixing WordPress
In reply to: Sticky Footer with Twenty ElevenYou are right, but it has worked for me on a number of occasions.
Forum: Fixing WordPress
In reply to: User level categoriesYes that is correct:
<?php if ( is_user_logged_in() ) { ?> <!-- code here for what only logged in users can see --> <?php } else { ?> <-- code here for what users that are not logged in see e.g. a login form --> <?php wp_login_form(); ?> <?php } ?>Forum: Fixing WordPress
In reply to: Sticky Footer with Twenty ElevenIs this what you mean?
http://markwilkinson.me/2011/05/force-footer-to-bottom-of-browser-window/
Forum: Themes and Templates
In reply to: twentyeleven – archive pageThe
archives.phpis a template hierarchy file and not a page template. Therefore you would need to create your own page template.Forum: Installing WordPress
In reply to: How to let WordPress run under Windows ?Try looking here:
http://webdesignerwall.com/tutorials/installing-wordpress-locally
Forum: Installing WordPress
In reply to: PHP errorWho is your host? Do they advertise that they run PHP?