Specific Job Listings Not Working with Theme
-
I dug through a bunch of these posts saying the same thing about not seeing various pages working with themes, and tried those solutions already.
All of the static pages using shortcodes work fine, but the specific listings that are created when you post a new job don’t.
I see that you tell people to create a page template, which I keep trying. Currently it only shows the header, and every time I try to mod the page.php template into a new content-job_listing.php file the whole page is blank. I assume I’m doing something wrong, but I don’t know what (php and I aren’t on good terms, ha).
I’ll just cut and paste the page.php code below. If you could cut out the parts that need to be cut out, that would be fantastic.
If it makes any difference – if I can get this to work, I am planning on buying several of the premium add-ons.
Here’s the page.php code:
<?php /** * @package WordPress * @subpackage Solana Theme */ $sidebar_pos = iwebtheme_smof_data('sidebar_pos'); ?> <?php get_header(); ?> <?php $page_title = get_post_meta($post->ID, 'iweb_page_title', TRUE); $mb_portfolio = get_post_meta($post->ID, 'iweb_page_portfolio', TRUE); $mb_signup = get_post_meta($post->ID, 'iweb_page_signup', TRUE); $mb_clients = get_post_meta($post->ID, 'iweb_page_clients', TRUE); ?> <!-- PAGE TITLE --> <div class="container m-bot-35 clearfix"> <div class="sixteen columns"> <div class="page-title-container clearfix"> <?php if ($page_title != '') { ?> <h1 class="page-title"><?php echo $page_title; ?></h1> <?php } else { ?> <?php get_template_part('includes/breadcrumbs'); ?> <?php } ?> </div> </div> </div> </div> <!-- Grey bg end --> <div class="container m-bot-35 clearfix"> <?php if ($sidebar_pos == 'left') { ?> <?php get_sidebar(); ?> <?php } ?> <div class="eleven columns"> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <h3><?php the_title();?></h3> <?php the_content(); ?> <?php wp_link_pages(array('before' => 'Pages: ', 'next_or_number' => 'number')); ?> <?php endwhile; endif; ?> <?php comments_template(); ?> </div> <?php if ($sidebar_pos == 'right') { ?> <?php get_sidebar(); ?> <?php } ?> </div> <?php get_footer(); ?>
Thanks for the help – if this can be overcome, it appears to have all of the functionality I’m looking for.
- The topic ‘Specific Job Listings Not Working with Theme’ is closed to new replies.