orbital2000
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Gray border around Social Icons (in table)Worked! Awesome, thanks!
Forum: Fixing WordPress
In reply to: Gray border around Social Icons (in table)Thank you so much for the fast response. I would have never looked at #wp-calendar or #inner_content
I’ll give that a try and let you know the outcome.
Forum: Fixing WordPress
In reply to: Custom field info disappears after saving postIt’s not that. It was happening on a previous version (the original version that I built the theme on). As I mentioned, it was working fine for nearly 6 months. I upgraded to 2.9.2 today, just to see if I needed to upgrade to solve the problem.
Forum: Fixing WordPress
In reply to: Feedburner email subscriptions not workingKim-
Yes, I have email subscriptions activated under publicize. Thanks for the links, I’ll check it out and let you all know if it helps.
Forum: Fixing WordPress
In reply to: Feedburner email subscriptions not workingI’d like to use a form. I’ve seen this done on many sites, but can’t get it working with this particular theme.
Forum: Fixing WordPress
In reply to: Show posts from all categories on “Blog” pageThe exact setup I’m looking for can be found at http://www.georgiapellegrini.com. Check out the blog section.
I’m converting this site into a WP theme – the in-progress url is http://www.georgiapellegrini.com/wordpress
The issue is, the original site was built by someone who didn’t know WP very well. I can’t figure out how posts are being displayed here, as there is no “Blog” category, or “Blog” page in WP admin, but there is a “Blog” link in the nav bar. The “Blog” section on the original site pulls posts from all categories. Categories are typically the city in which the post was written – the cities are displayed in the byline via custom fields.
My question: How can I convert this setup to a proper WP structure?
Forum: Fixing WordPress
In reply to: Adding RSS image link w/rollover, on same line as nav linksForum: Fixing WordPress
In reply to: Can’t vertically align search form and buttonwonderful, thank you! it worked like a charm.
Forum: Fixing WordPress
In reply to: Can’t vertically align search form and buttonNote the search form and looking glass icon don’t vertically align. The image sits too high, but I can’t move it via margins, etc. Can move it left/right, but not up/down.
Forum: Fixing WordPress
In reply to: Permalinks to single blog posts are not workingRESOLVED
The coding needed to be tweaked to work with php5.
I removed <?php endwhile; else: ?> and replaced <?php endif; ?> with <?php endwhile; ?>. That did the trick.
If anyone can offer an explanation as to why php5 requires the said change, it would be much appreciated. I used trial and error but have no clue what I did right:)
Forum: Fixing WordPress
In reply to: Permalinks to single blog posts are not workingThe following should work (works on other themes I’ve done), BUT in this case it didn’t fix my problem. Now I’m getting an unexpected ‘else’ error.
<?php comments_template(); ?>
<?php endwhile; else: ?>
<p>Sorry, no posts matched your criteria.</p>
<?php endif; ?>
</div>Forum: Fixing WordPress
In reply to: Permalinks to single blog posts are not workingHere’s the coding for my single.php loop. There are two endifs at the end, but I’m not sure which one needs to go. Seems to generate the same error no matter which one I remove, so maybe it’s my structure?
<div id="single_wrap"> <?php while ( have_posts() ) : the_post(); ?> <div <?php post_class() ?> id="post-<?php the_ID(); ?>"> <h2><?php the_title(); ?></h2> <div class="stamp_single"><?php the_time('F jS, Y') ?><!-- by <?php the_author() ?> --> | <?php comments_popup_link( 'No Comments »', '1 Comment »', '% Comments »'); ?></div> <p><?php the_content('<p>Read the rest of this entry »</p>'); ?></p> <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> <?php the_tags( '<p>Tags: ', ', ', '</p>'); ?> <div class="nav"><?php $prev_post = get_previous_post(); if($prev_post) { $prev_title = strip_tags(str_replace('"', '', $prev_post->post_title)); echo "\t" . '<a rel="prev" href="' . get_permalink($prev_post->ID) . '" title="' . $prev_title. '" class=" ">« Older posts</a>' . "\n"; } $next_post = get_next_post(); if($next_post) { $next_title = strip_tags(str_replace('"', '', $next_post->post_title)); echo "\t" . '<a rel="next" href="' . get_permalink($next_post->ID) . '" title="' . $next_title. '" class=" ">Newer posts »</a>' . "\n"; } ?></div> </div> <div style="border-bottom:1px dotted #C0C0C0; margin-bottom:10px; margin-left:14px; margin-right:14px; padding:0px 0px 10px 0px; clear:both;"></div> <?php comments_template(); ?> <?php endif; ?> <?php else : ?> <p>Sorry, no posts matched your criteria.</p> <?php endif; ?> </div>Forum: Fixing WordPress
In reply to: Permalinks to single blog posts are not workingI should note that when clicking on any of the post titles on a blog archive page, this error is generated:
Parse error: syntax error, unexpected T_ENDIF in /home2/manhatu7/public_html/wp-content/themes/manmoviemag/single.php on line 95
Forum: Fixing WordPress
In reply to: Need Serious Help With Custom Loop – Need advice on best practicesThe following query worked for me – pagination is now working like a gem.
<?php $limit = get_option('posts_per_page'); $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts('showposts=' . $limit . '&paged=' . $paged .'&cat='); $wp_query->is_archive = true; $wp_query->is_home = false; ?> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?>Forum: Fixing WordPress
In reply to: Need Serious Help With Custom Loop – Need advice on best practicesThanks for the help on this. Sorry for not using pastebin – was not aware of it until now. Will use it in the future.
1. Do I simply add the code you provided before my custom query?
2. Not sure what the problem is, but it wasn’t working out.
3. Nevermind – just wondering if I used the wrong template, or need a specific template to make this work.
4. I know I should be using get_header. Will change that part once I get everything working.Thanks!