Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Forum: Fixing WordPress
    In reply to: widening a blog

    Hi All,

    I’m also trying to widen my blog. I tried modifying the rap, main and content width elements, but I could not figure out how to retain the beige border that goes around everything. Im using the connections theme. Anyone have any ideas? My site is

    Stock Market Garden

    Thanks,

    Forum: Plugins
    In reply to: get_post method not working
    Thread Starter SMG

    (@smg)

    Thanks alphaoide,

    I also found that if I use $post->ID i can get the post ID of the current post.

    Thanks,

    SMG

    Forum: Plugins
    In reply to: get_post method not working
    Thread Starter SMG

    (@smg)

    Here is the code in my page.php file inside of the connections theme folder.

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <div class="page">
    <div class="page-info"><h2 class="page-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2>
    <?php /*Posted by <?php the_author(); ?>*/ ?><?php edit_post_link('(edit this)'); ?></div>

    <div class="page-content">

    <?php the_content();

    What I’m trying to do, is create a page that has an include in it. The include will have additional processing(i.e. PHP code). I need to detect the correct page in order to execute the include code. So, when a user opens the spcific page, the additional include will be executed thus adding additional functionality to that page and that page only. Any idea how I can do this?

    Thanks,

    SMG

    Forum: Plugins
    In reply to: get_post method not working
    Thread Starter SMG

    (@smg)

    Thanks, It works.

    Does this mean that the get_post method expects a reference and not a number?

    SMG

Viewing 4 replies - 1 through 4 (of 4 total)