Forum Replies Created

Viewing 15 replies - 31 through 45 (of 45 total)
  • Thread Starter macmiller

    (@macmiller)

    I looked at that plug in and am not sure if it is what I need or not. I have code in my main non-blog homepage which needs to be replaced due to the fact that the original show_categories_posts plugin isn’t working in 2.3.1. I did look at CQS a bit, but don’t see any instructions on what to add to replace this following code. Are there any examples out there?

    The following is code embedded in my non-blog homepage to show a list of recent posts.

    Most recent entries -
    <font face="Verdana" size="1">
    <div id="leftcol">
    <ul><br> <li><?php echo show_category_posts('category=2&scp_status=publish&scp_title=latest blog articles&scp_limit=8'); ?></li>
    <ul compact >
    <?php if ($scp_posts) : foreach ($scp_posts as $post) : start_wp(); ?>
    <li><?php the_time('M jS ',TRUE);?><span class=topicslinkcss><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></span>&nbsp;<?php echo $post->post_excerpt ?>
    <span class="sidecomments">
    <?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?></span></li>
    <?php endforeach; ?>
    </ul>
    <?php else: ?>
    <?php _e('Sorry, no posts matched your criteria.'); ?>
     <?php endif; ?>
    </ul>
    </div>
    </font>
    </td>

    Thread Starter macmiller

    (@macmiller)

    See the related post at http://wordpress.org/support/3/13294 which shows an example of the get_posts being implemented to do this.

    Thread Starter macmiller

    (@macmiller)

    Now I’ve tried Exhibit 1.1d, thumb-in-post and the king plug in wp-photos. What I’ve now been trying to do is to get in-line photos with right or left alignment. So far the closest one to this is Exhibit 1.1d, which with a little tweaking can supply the requesting alignment option.
    Please refer to this related post. I am going to try one more hack and will update this post once I’ve had a chance to try it: http://wordpress.org/support/10/13278

    Forum: Fixing WordPress
    In reply to: GET_POSTS
    Thread Starter macmiller

    (@macmiller)

    yes, correct, the post should have gone to http://wordpress.org/support/3/13294. cyber-spanking noted:) and sorry for the duplicate post here.
    the code which i was trying to display above (or refer to 13294) is something like this:
    <?php
    $posts = get_posts('numberposts=2&offset=0');
    foreach ($posts as $post) : start_wp();
    ?>

    Thread Starter macmiller

    (@macmiller)

    i’m not sure how many time i asked it…. us Alzheimer’s patients get confused easily. anyway, thanks for the help all.

    Thread Starter macmiller

    (@macmiller)

    yes that worked! I also found, interestingly, that a call to the_time returns a time with or without the start_wp.
    thankz.

    Thread Starter macmiller

    (@macmiller)

    the get_posts is working perfectly. now i only have a question about how to get the date returned as a part of the post which i posted under a new thread.

    Forum: Fixing WordPress
    In reply to: GET_POSTS
    Thread Starter macmiller

    (@macmiller)

    /

      <?php
      $posts = get_posts(‘offset=1’);
      foreach ($posts as $post) :
      ?>

    • “><?php the_title() ?> — <?php the_excerpt() ?>
    • <?php
      endforeach;
      ?>

    /

    Forum: Fixing WordPress
    In reply to: GET_POSTS
    Thread Starter macmiller

    (@macmiller)

    nevermind. i figured it out already! the get posts is working but doesn’t display until encased in something like this (as it says on the wiki)!!!!!

      <?php
      $posts = get_posts(‘offset=1’);
      foreach ($posts as $post) :
      ?>

    • “><?php the_title() ?> — <?php the_excerpt() ?>
    • <?php
      endforeach;
      ?>

    Thread Starter macmiller

    (@macmiller)

    THANKS! but I’m still curious as to why the search doesn’t seem to find certain posts. Like this one: http://wordpress.org/support/3/12922 in here is the word ‘topstyle’ but a search doesn’t pull up this post. This seems to happen a lot. Is there another way to search?

    Forum: Plugins
    In reply to: inline wrapped image
    Thread Starter macmiller

    (@macmiller)

    heres the thing…. I don’t know up front if I want the pict aligned left or right, it depends where it is in the post. since I don’t know up front I will need to continue to adjust the html in the post, correct?

    Forum: Plugins
    In reply to: inline wrapped image
    Thread Starter macmiller

    (@macmiller)

    Thanks for the code. However, sometimes I want to have the image align left and sometimes right. I’ve added the .post img section to the css and left out the ‘float:right;’. Then each time I insert the html in a post for a thumbnail using the plugin ‘exhibit’ I’m manually adding in the alignment. It is ugly but it works. So the html looks like this: –> <img src=”http://coolthaihouse.com/blog/images//t/DSC06001.JPG&#8221; alt=”©2004″ border=”0″ align = “left”/></a. NOTE: exhibit adds all of this HTML except for the ‘align = “left” ‘ which I manually typed in. It seems like there would be an easier way to do this but for now this seems to be working.

    Thread Starter macmiller

    (@macmiller)

    IT IS NOW Fixed….. Here is what I did. I created a new file called thumb-in-post9a in wordpad pro (text editor). I copied in all of the stuff from thumb-in-post9 and saved it then ftped this new file to the server and renamed it to thumb-in-post9. Now it works fine.
    I’m not sure what is wrong with the first file — but in case anyone else has this problem this will fix it.

    Forum: Fixing WordPress
    In reply to: browndog returns

    the link you may be looking for is here:
    http://www.tamba2.org.uk/wordpress/graphicalcss/
    i have the same problem, i’ll read something that i don’t really need at that time and later have a hard time trying to find it again!

    Forum: Fixing WordPress
    In reply to: css tools
    Thread Starter macmiller

    (@macmiller)

    PC: OS is windows XP and I’ve done most of my layouts in frontpage 2003.

Viewing 15 replies - 31 through 45 (of 45 total)