oh_hello
Forum Replies Created
-
Forum: Your WordPress
In reply to: Electronic Repair Company WebsiteI didn’t want the company logos all over the homepage either, but the client insisted on it.
In terms of Search Engine friendliness, I think the site will do quite nicely. With WordPress rewriting the URL’s and the fair amount of content, it should do well. The coding is lean and it’s been picked up already, so it just needs time at this point.
Forum: Plugins
In reply to: Get Custom Fields, display for multiple postsWorks like a charm.
Thank you very much for all your help.
Forum: Plugins
In reply to: Get Custom Fields, display for multiple postsThe site I am working on: is right here.
You’ll notice on the homepage, I have “Upcoming Events”. Each one of those events is a Post. The name of the event is the post title, e.g., Planned Giving Seminar. I then have custom metadata for the date, location and time.
What I want is for each post to display its own custom metadata with it.
Hopefully this is clear enough, and I really appreciate all your help so far. Let me know if there’s anything else I need to show you.Forum: Plugins
In reply to: Get Custom Fields, display for multiple postsI really appreciate all your help so far, it’s been great. But I still can’t seem to get it working. The code I am using now:
<?php
$posts = get_posts('numberposts=3');
foreach($posts as $post) :
?>
<?php
echo '<p class="eventdate">';
echo get_post_custom_values($date);
echo '</p><p class="event">';
the_title();
echo post_custom('location');
echo post_custom('time');
echo '</p>'; ?>
<?php endforeach; ?>And only the post’s title is displaying, none of the costom meta data is displaying at all.
Have I done something wrong?
Thanks again for all the help so far.
Forum: Plugins
In reply to: Get Custom Fields, display for multiple postsI don’t think I can acheive what I want with built-in functionality. Each of my posts is an Event, and for each Event I have custom meta data such as date, time, location, etc. So for each post I need to have this custom meta data outputed with it. Is this possible using post_custom() and if so, how could I accomplish it?
Forum: Plugins
In reply to: Get Custom Fields, display for multiple postsI have added your code, but it doesn’t seem to be making a difference. The portion of the code in question:
<?php
$posts = get_posts('numberposts=3');
foreach($posts as $post) :
setup_postdata($post);
?>Did I do something wrong? Is there another issue?
Thanks.
Forum: Plugins
In reply to: Get Custom Field Values for posts in sidebarUpdate:I thought the code below worked, but it isn’t getting the custom meta data for each post, it’s only getting the meta data for the most recent post and displaying it for each Event. Any ideas how I can fix this?
Ok, it looks like I figured it out. Actually much simpler than I expected it to be. The code I am using is:
<?php
$posts = get_posts('numberposts=5');
foreach($posts as $post) :
?>
<?php echo c2c_get_recent_custom('date', '<p class="eventdate">', '
'); ?>
<p class="event"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
<?php echo c2c_get_recent_custom('location', '', ''); ?>
<?php echo c2c_get_recent_custom('time', '<small>', '</small>
'); ?>
<?php endforeach; ?>And it seems to be working fine for me. Thanks.
Forum: Fixing WordPress
In reply to: Post using only htmlGood thread folks, thanks.
Forum: Fixing WordPress
In reply to: Post using only htmlDoes WordPress not add
<p>tags to some (seems irregular to me) line breaks?Forum: Fixing WordPress
In reply to: Post using only htmlI understand that, but the RTE does a better job of keeping my html as it was, the basic editor adds in extra stuff. I think that’s what kickass was getting at.
I was looking for maybe another way I haven’t thought of to accomplish perfect copy & paste, but I’m getting the feeling it’s not possible.Forum: Fixing WordPress
In reply to: Post using only htmlI’m going to assume you meant to say, “CHECK the box that says ‘Users should use the visual rich editor by default'”, as the visual rich editor has the html button.
I have done this, but like you said it doesn’t keep the nice formatting of my html.
I suppose this is the best I can do at this point.Forum: Fixing WordPress
In reply to: wp_list_pages: certain pages with custom li.class?This must be possible, no?
Is there any way to do it using Custom Fields?
Forum: Fixing WordPress
In reply to: wp_list_pages: certain pages with custom li.class?As far as I know the plugin is quite a simple one and does not have any other parameters.
Forum: Fixing WordPress
In reply to: wp_list_pages: certain pages with custom li.class?I am using the redirectify plugin.
Forum: Fixing WordPress
In reply to: Page as an external link?Redirectify did the trick, thanks.