MtnExile
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Can anyone tell me how to build a restaurant menu?Yes, I did: Easy Restaurant Menu Manager.
Forum: Plugins
In reply to: [Plugin: SimpleModal Login] How to avoid wp-login page?According to the plugin page, 39% of users say it’s broken in 3.2.1. Possibly it’s not as harmless as you think. At any rate, it does nothing to fix my problem with SimpleModal Login.
Forum: Plugins
In reply to: [Plugin: SimpleModal Login] How to avoid wp-login page?Well…I installed it, enabled it, and it immediately screwed up my entire site. Luckily, I was still able to trash it.
Thanks.
Next.
Forum: Plugins
In reply to: [Plugin: SimpleModal Login] How to avoid wp-login page?And this will do…what?
Forum: Fixing WordPress
In reply to: Need help with syntax of conditional category statementThanks, that did it.
Forum: Fixing WordPress
In reply to: Need help with syntax of conditional category statementThat’s functioning correctly–by which I mean, it’s drawing from the custom field if the post is in category ‘3’, and printing only the comment count otherwise. But it’s also doing something screwy, and danged if I can figure out why.
You have ‘From ‘ preceding the custom field value; but it’s printing out like this:
The New York TimesFrom |15 comments ?
Forum: Fixing WordPress
In reply to: Need help with syntax of conditional category statementThat gave me a parse error:
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';'
I also tried this
<?php if (is_category('3') ) { ?> <p class="attribution">From the <?php if ( function_exists( 'get_custom_field_value' ) ) get_custom_field_value( 'Attribution', true ); ?> | <?php comments_popup_link('No comments', '1 comment »', '% comments »'); ?></p> <?php } elseif (is_category('-3') ) { ?> <p class="attribution"><?php comments_popup_link('No comments', '1 comment »', '% comments »'); ?></p> <?php } ?>
and that didn’t throw an error, but it also didn’t work. I doesn’t print out the custom field value.
Fixed it. It helps enormously if you’re actually applying the change to the right line, which should have been
$link = '<a rel="nofollow" class="comment-reply-login" href="' . esc_url( wp_login_url( get_permalink() ) ) . '">' . $login_text . '</a>';
So it’s working perfectly now. One last question: is there a way to accomplish this without changing a core file?
Forum: Fixing WordPress
In reply to: A couple problems with date archivesBrand new site. Still in the development stage, so this is something that never has worked the way I want it.
Yes! That worked. Imagine…using a while loop will actually call multiple posts. Who’da thunk?
/sarcasm directed at self
Well, that helped, but we’re still not there.
This is the entire block of relevant code:
<div class="static" id="casePosts" style="display: block;"> <?php $acs->query_posts(array('group_name' => 'Case')); ?> <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <h6 class="entry-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h6> <div class="entry-content"> <?php the_excerpt(); ?> <p class="readMore"><a href="<?php the_permalink(); ?>">More »</a></p> </div><!-- .entry-content --> </div><!-- #post-## --> </div>
You can see, I’ve made the change to the $acs query_posts, but I still just get the title of the page instead of the posts in that category. It’s not recursive now–it only prints it out once–but it’s still wrong.
Forum: Fixing WordPress
In reply to: How to display posts of one category without dates?I hadn’t realized it was creating a special class, but it was.
<div id="post-145" class="post-145 post type-post status-publish format-standard hentry category-case">
“category-case” is the relevant class. All I have to do is
#leftColumn .category-case .info { display: none; }
and the problem is taken care of. Thanks for the suggestion.
Forum: Fixing WordPress
In reply to: How to add a list of posts to a page?But I DID use a loop looking for only a certain category:
<?php query_posts($query_string . '&cat=3'); ?>
This is what works for the sidebar; it doesn’t work in a page. And if WordPress “knows” that what I want is an About Us post, WordPress is wrong.
So my original question still stands: how do you generate a list of posts on a static page?
Forum: Themes and Templates
In reply to: Home page not showing up in the menu…what am I doing wrong?Bagel, thanks for trying to help. I really do appreciate it, because it can be difficult to get answers to very basic questions. As it turns out, I did some more looking at other themes and some Googling, and figured out what to do to get the custom menus working. After that it was easy.
I should also say that you’re wrong to think I’m “confused.” What I am is pig-ignorant. I don’t know enough to be confused about anything.
Forum: Themes and Templates
In reply to: Home page not showing up in the menu…what am I doing wrong?There is no such feature in my dashboard menu. Under “Appearance” there are “Themes,” “Widgets,” and “Editor,” but no “Menu.”
And no, I simply copied the code from another theme and it seemed to work. I told you this was a very basic question.