• Hello,
    Please have a look to my site:
    http://todayjobs.org/
    the question is, how to copy the format of the (Job Categories) table in the sidebar to the customized job list ??
    Here is my job list code:

    <table>
      <tr class="heading">
        <th>Position - Employer</th>
        <th>[job_field4_label]</th>
        <th>Details</th>
      </tr>
    
    [job_loop]
      <tr class="job[job_row_number] job[job_id] [if_job_highlighted]highlighted [/if_job_highlighted][job_odd_even]">
        <td>[if_job_icon][job_icon]<br />[/if_job_icon] [job_link] [job_title] [/job_link]</td>
        <th>[job_field4]</th>
        <td>[job_link]More Info[/job_link]</td>
      </tr>
    [/job_loop]
    
    </table>

    And this is my sidebar.php :

    <div id="sidebar" role="complementary">
    
    	<?php if(VPRO && pagelines('grandnav')) include(PRO.'/_grandchildnav.php');?>
    
    	<?php if(get_post_meta($post->ID, 'secondary_sidebar', true)):?>
    		<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('secondary_sidebar') ) : ?>
    			<?php _e('The secondary sidebar has been selected but doesn\'t have any widgets. Add some widgets to your secondary sidebar in your admin.');?>
    		<?php endif; ?>
    	<?php else:?>
    		<?php if(is_home() || pagelines('welcomeall')):?>
    			<?php if(pagelines('greeting') || pagelines('welcomemessage')):?>
    			<div id="welcome">
    				<div class="welcometext">
    				<?php if(pagelines('greeting')):?><h3 class="greeting"><?php echo pagelines('greeting');?></h3><?php endif;?>
    				<?php if(pagelines('welcomemessage')):?><div class="welcomemessage"><?php echo pagelines('welcomemessage');?></div><?php endif;?>
    				<div class="clear"></div>
    				</div>
    			</div>
    			<?php endif;?>
    		<?php endif;?>
    
    		<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>
    			<?php include(TEMPLATEPATH.'/_defaultsidebar.php');?>
    		<?php endif; ?>
    
    	<?php endif;?>
    </div>
    
    <?php include (TEMPLATEPATH . '/_contentfooter.php'); ?>

    Thanks 🙂

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

The topic ‘CSS issue!’ is closed to new replies.