Forum Replies Created

Viewing 9 replies - 76 through 84 (of 84 total)
  • Hi TrentPhoto,

    If you edit where the slider is in the theme you could wrap a link around where it calls the featured image and with the href as the post link:

    “>
    slider image here

    hope it helps

    ah yes. Unfortunately the theme isn’t widget ready so you wouldn’t be able to use it with them. bummer :S

    hmmm, perhaps try:

    <?php if (have_posts()) : ?>
                    <?php while (have_posts()) : the_post(); ?>
                    <div class="postsingle" id="post-<?php the_ID(); ?>">
                        <div class="entry">
    
                    	<?php $recent = new WP_Query("cat=4&showposts=4"); while($recent->have_posts()) : $recent->the_post();?>
    
    <?php if ( has_post_thumbnail() ) : ?>
    	<?php the_post_thumbnail(); ?>
    <?php endif; ?>
    
    <?php the_date(); ?>
    <h3><?php echo get_the_title(); ?></h3>
    
                            <?php endwhile; ?>
    				 	</div>
    			     </div>
    				<?php endwhile; ?>
    				<?php else : ?>
                    <h2 class="center">Not Found</h2>
                    <p class="center">Sorry, but you are looking for something that isn't here.</p>
    				<?php endif; ?>

    try going into your themes function.php file and do a search for “remove_dashboard_widgets()” there maybe a snippet of code that is removing the widgets from the dashboard in your theme.

    what category id is “featured”? go to categories in posts and hover over the featured category and the link that appears in the bottom of the browser would show eg. “category&tagID=22” so if the category id was “22” and show the featured image then try:

    <?php if (have_posts()) : ?>
                    <?php while (have_posts()) : the_post(); ?>
                    <div class="postsingle" id="post-<?php the_ID(); ?>">
                        <div class="entry">
    
                    	<?php $recent = new WP_Query("cat=22&showposts=4"); while($recent->have_posts()) : $recent->the_post();?>
    
    <!-- thumbnail image -->
    <?php
    if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
    	the_post_thumbnail();
    }
    ?>
    <!-- the date--> <?php the_date(); ?>
    <!-- the title --> <h3><?php echo get_the_title(); ?></h3>
    
                            <?php endwhile; ?>
    				 	</div>
    			     </div>
    				<?php endwhile; ?>
    				<?php else : ?>
                    <h2 class="center">Not Found</h2>
                    <p class="center">Sorry, but you are looking for something that isn't here.</p>
    				<?php endif; ?>

    let me know if that works for you. You can wrap divs around the title, date and image and then style them using CSS.

    Hi rayallove,

    I imaging you would do this in CSS. Do you have a link to your site?

    try:

    #div name
    {
    border:0px;
    margin:0px;
    }

    a link to the site would be able to give you a better answer as to what space etc

    Hi islander123,

    Have you tried deactivating your plugins to see if any are causing this?

    There maybe something in the themes functions.php that is hiding or affect this. See if there is anything like this in the themes functions.php

    remove_dashboard_widgets()

    Hi annakronzer,

    Are your blog post in a certain category?

    You can paste the following code onto your template of where you want them to appear:

    <?php if (have_posts()) : ?>
                    <?php while (have_posts()) : the_post(); ?>
                    <div class="postsingle" id="post-<?php the_ID(); ?>">
                        <div class="entry">
    
                        <!-- ////// THIS IS TO CALL THE POST FROM THAT CATEGORY, ENTER THE CATEGORY ID NUMBER BELOW & THE NUMBER OF POSTS YOU WANT TO SHOW /////// -->
    
                    	<?php $recent = new WP_Query("cat=4&showposts=4"); while($recent->have_posts()) : $recent->the_post();?>
    
                        <!-- ////// THEN HERE ADD THE CODE SNIPPETS FOR WHAT YOU WANT TO APPEAR DEPENDING ON WHERE YOUR IMAGE ARE ETC  /////// -->
    
    <!-- the date--> <?php the_date(); ?>
    <!-- the title --> <h3><?php echo get_the_title(); ?></h3>
    
                            <?php endwhile; ?>
    				 	</div>
    			     </div>
    				<?php endwhile; ?>
    				<?php else : ?>
                    <h2 class="center">Not Found</h2>
                    <p class="center">Sorry, but you are looking for something that isn't here.</p>
    				<?php endif; ?>

    You would need to add a snippet of code to add the image in there too. I could give you this if you can tell me where the image appears in the post admin.

    hope that helps

    Hi paco8723,

    What I would do is use Secondary HTML content plugin.

    This allows you to have multiple WYSIWYG (editors) in one page, so you can call upon that extra html content within your template by simply placing in the code:

    <?php the_secondary_content('What you named it'); ?>

    replace what you named it with what you named the secondary content box in the writing section of the admin. You can add more than one box too.

    Now for the images and text, it looks as though you would be better of having those as posts and assigning a category to them then calling the category posts in your template. You can do this by placing in the following code in your template where you want them to appear:

    <?php if (have_posts()) : ?>
                    <?php while (have_posts()) : the_post(); ?>
                    <div class="postsingle" id="post-<?php the_ID(); ?>">
                        <div class="entry">
    
                        <!-- ////// THIS IS TO CALL THE POST FROM THAT CATEGORY, ENTER THE CATEGORY NUMBER BELOW /////// -->
    
                    	<?php $recent = new WP_Query("cat=ADD CAT NUMBER HERE e.g. &showposts=4"); while($recent->have_posts()) : $recent->the_post();?>
    
                        <span class="featured-box">
                        <!-- ////// THIS IS TO CALL THE ADDITIONAL EDITOR BOX FOR THE IMAGE, BE SURE TO NAME THE SECONDARY CONTENT post image IN THE WRITING SECTION OF THE ADMIN AND ASSIGN IT TO POSTS TICK BOX /////// -->
                            <?php the_secondary_content( 'post image' ); ?>
                            <!-- ////// THIS WILL CALL THE TITLE OF THE POST /////// -->
                            <h3><?php echo get_the_title(); ?></h3>
                            <div class="content-ver-sep"></div><br>
                            <!-- ////// THIS IS WILL CALL THE MAIN CONTENT IE. THE TEXT /////// -->
                            <?php the_content(); ?>
                        </span>
    
                            <?php endwhile; ?>
    				 	</div>
    			     </div>
    				<?php endwhile; ?>
    				<?php else : ?>
                    <h2 class="center">Not Found</h2>
                    <p class="center">Sorry, but you are looking for something that isn't here.</p>
    				<?php endif; ?>

    hope this helps!

Viewing 9 replies - 76 through 84 (of 84 total)