haussamen
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Post formatting problemHere’s a link to a post with the spacing problem with a bulleted list:
https://www.nmindepth.com/2012/09/16/media-coverage-of-n-m-in-depth-announcement/
Also, I don’t have live examples of these other problems, but I did some more exploring. When I try to put an image next to a blockquote (here’s how blockquotes look on the site: https://www.nmindepth.com/2012/09/17/this-is-what-journalism-should-be/) the blockquoted text disappears completely.
And when I try to put an image next to an <h1> formatting in the text, like a subhead, the text between the <h1> and </h1> tags moves down below the image, and body formatted text that should have been below the <h1> area moves up above it to fill the white space.
Which obviously won’t do.
Forum: Fixing WordPress
In reply to: Query helpThat did it. Thanks!
Forum: Fixing WordPress
In reply to: Excluding a categoryThe first worked. Thanks!
Forum: Fixing WordPress
In reply to: Facebook like buttonThe like button appears more often at the bottom than the top of the content. And even when it does appear, when I click it it doesn’t like the page…
Forum: Hacks
In reply to: Adding a second loop on the home pageMan, I thought the Mimbo theme was supposed to be a pretty good one… Sigh. Thanks for your help. Back to the drawing board. I may ask another question or two over the next couple of days, if that’s OK.
Thanks so much for your help.
Forum: Hacks
In reply to: Adding a second loop on the home pageWhen I include only category 11 in the center column, it also excludes other categories in the sidebar. I haven’t been able to figure out why.
There’s no
<?php endwhile; ?>
in my current code in the index page. Is that why? If so, where would I put that code? Here’s the full code:[code moderated as per forum rules - please use the pastebin]
If I add
<?php endwhile; ?>
somewhere in this, I assume I'm cutting off a loop that extends beyond the index page and have to add code somewhere else. Is that right?I greatly appreciate your help.
Forum: Hacks
In reply to: Adding a second loop on the home pageThanks. I think my problem now is that I don’t understand this part of the code enough to even build a second loop into it:
<?php //GETS NEXT HEADLINES } else { ob_start(); echo '<li><a href="'; the_permalink(); echo '">'; the_title(); echo '</a></li>'; $links[] = ob_get_contents(); ob_end_clean(); } $postcount ++; } } else { ?> <?php } ?> <?php if(count($links)): ?> <h3><?php _e('Older Posts','Mimbo'); ?></h3> <ul class="headlines"><?php echo join("\n", $links); ?></ul> <?php endif; ?>
Everything I’m trying is crashing the site. I’m not sure how this code even pulls headlines to begin with…
Forum: Hacks
In reply to: Adding a second loop on the home pageOK, I’m not sure what you mean on sticky posts. This is a custom query on the home page, and all I want to do is somehow exclude the sticky post from the custom query so the sticky posts isn’t repeated in the custom query.
Here’s the code I have now:
[code moderated as per forum rules - please use the pastebin]
It limits the posts in that center column that include a post summary to category 11. Now I also need to figure out how to incorporate it into that section below, headlined "Older posts." I need them to be part of the same loop so that the second doesn't repeat the headlines in the first.
I tried moving the
<?php endwhile; ?>
code down below the "Older posts" section, and that crashed my site...
Forum: Hacks
In reply to: Adding a second loop on the home pageAlright, so I’d use some form of this:
<h3>Recent Articles</h3> <ul> <?php $recentPosts = new WP_Query(); $recentPosts->query('showposts=5'); ?> <?php while ($recentPosts->have_posts()) : $recentPosts->the_post(); ?> <li><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></li> <?php endwhile; ?> </ul>
But what code would I put in there to only draw from category 11? And what code would I use to exclude the sticky post?
Thanks.
Forum: Plugins
In reply to: [Simply Exclude] [Plugin: Simply Exclude] – Not working with 3.1Anybody?
Forum: Plugins
In reply to: [Simply Exclude] [Plugin: Simply Exclude] – Not working with 3.1Update- OK, I just realized only posts that have already fallen out of the right column on the page (are too old to appear there) are appearing in the center column. That means what’s happening is that WordPress 3.1 is now counting posts that run in that right column using the plug in Alkivia SidePosts as being on the front page. WordPress didn’t used to do that.
Forum: Fixing WordPress
In reply to: Removing shortcodes for mobile versionAnybody?
Forum: Fixing WordPress
In reply to: Removing shortcodes for mobile versionNo ideas? The only options I have right now are all shortcodes or none, but I’m looking for something in between…
Forum: Fixing WordPress
In reply to: Multiple users with the same e-mail address?Thanks.
Forum: Fixing WordPress
In reply to: Multiple users with the same e-mail address?Hmm… ipstenu, I could do that, but then I lose the ability to click on the name and show all their posts, and WP to Twitter won’t include the author name in tweets… I wish there was a better solution to this than what you’re suggesting, saildude, but it sounds like that might be the way to go.
I wish there were a way to get rid of the requirement that a new user enter an e-mail address — but only for administrators.