Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter kindofaquirk

    (@kindofaquirk)

    Ok, so I am still playing around with this. I found the php file that controls this aspect of the home page and pasted the code below. Would changing the code to display the full entry content solve this problem of the links formatting below the rest of the content? If yes, how do I write that?

    </div> <!-- #container -->
    
       <?php
       // Recent update Widget for home page
       if( is_home() ||  is_front_page() ){
    	   $cat_id  = get_cat_ID('Updates');
    	    ?>
           <div class="recent-update home-widget">
                <div class="widget-heading"><a>">Recent Updates</a></div>
                <div class="widget-content">
                	<?php
    					global $post;
    					global $more;
    					$more = 0;
    					query_posts('category_name=updates&showposts=2');
    					if( have_posts() ): while( have_posts() ):
    						the_post();
    						?>
                          <div class="recent-update-post">
                            <div class="post-thumbnail">
                            	<?php
    								if( has_post_thumbnail() ){
    									the_post_thumbnail('thumbnail');
    								}
    								else if( get_first_image() ){
    								 	echo '<img src="'.get_first_image().'" style="width:90px; height:auto" />';
    								}
    							?>
                            </div>
                            <div class="post-excerpt">
                                <a>"><?php the_title() ?></a>
                                <div class="excerpt-content">
                                <?php
                             if( has_excerpt() ){
                                    the_excerpt();
                                }
                                else if( strpos( $post->post_content, '<!--more-->' ) ){
                                    the_content('More »');
                                }
                                else{
                                    echo ttp_word_limit( $post->post_content );
                                }
                                ?>
                                </div>
                           </div>
                        </div>
                       <?php
    					endwhile;
    					endif;
    					wp_reset_query();
    				?>
                </div>
           </div>
       <?php
       	}
       ?>
    
       <div id="footer">
    
             <?php dynamic_sidebar('Footer Widget Area 1'); ?>
             <?php dynamic_sidebar('Footer Widget Area 2'); ?>
       </div><!-- #footer -->
    
    </div><!-- #wrapper -->
    <?php wp_footer(); ?>
    </body>
    </html>

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. Or better still – use the pastebin. As it stands, your code may now have been permanently damaged/corrupted by the forum’s parser.]

    Thread Starter kindofaquirk

    (@kindofaquirk)

    When I look on the homepage under recent updates, I see this:

    Framework Convention on Tobacco Control: Implementation Database
    New content has been added to the page, or you can access is now by clicking .

    Law, Legislation and Regulation

    here

    And it should display like this:

    Framework Convention on Tobacco Control: Implementation Database
    New content has been added to the Law, Legislation and Regulation page, or you can access is now by clicking here.

    Why does it display the links below the rest of the text?

    Thread Starter kindofaquirk

    (@kindofaquirk)

    Wow. I knew I had a long day, but dang.

    Thank you!

    Thread Starter kindofaquirk

    (@kindofaquirk)

    Learn something new every day….Thank you Esmi!

    Thread Starter kindofaquirk

    (@kindofaquirk)

    I just put a dummy post up with the header image and when I click on what should be the image, it says it can’t be displayed because of errors. Thoughts on what these errors may be?

    Thread Starter kindofaquirk

    (@kindofaquirk)

    my website is http://www.healthylikelauren.com
    I just tried to change it back to the header I want….back to seeing nothing.

    I created the header in photoshop and when wordpress didn’t like the psd extension, I changed it to jpg. Not sure if that is relevant or not.

    Thread Starter kindofaquirk

    (@kindofaquirk)

    The default headers will show up (just chose one).

    Are you asking if I’ve gone into the Editor and changed anything? If so, no. I’ve just been using the easy user interface options because I’m just getting my bearings with wordpress.

    I’ll look at the link you sent about Child Themes. Thanks!

    Thread Starter kindofaquirk

    (@kindofaquirk)

    yes. I am using the dashboard>appearance>header function to upload the image. I’ve tried it multiple times changing the name/size of the header file to try and get it to work.

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