WordPress.org

Ready to get started?Download WordPress

Forums

WP Job Manager
[resolved] Double Headlines (3 posts)

  1. gregintheatl
    Member
    Posted 9 months ago #

    This plugin is fantastic and we thank you for all the hard work AND the great support.

    We have two duplicative "headlines," or job names showing up at the top of each job "post."

    Ultimately, I guess I'm trying to remove the following from every Jobs Post:

    <header class="entry-header">
    	<h2 class="entry-title">General Manager</h2><div class="entry-meta post_img_bot"><div class="post_img_bot_inner"><abbr title="10/07/13" class="published"><a href="http://www.MYSITE.com/2013/10/07/">10</a>/<a href="http://www.MYSITE.com/2013/10/">07</a>/<a href="http://www.MYSITE.com/2013/">13</a></abbr></div></div>		<div class="cl"></div>
    	</header>

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]

    I've tried so many things, but I can NOT FOR THE LIFE OF ME figure out how to remove one or the other of the "headlines." Regardless of the changes I make, the job title shows up at the top of every job post twice.

    ANY direction you can give me would be helpful.

    http://wordpress.org/plugins/wp-job-manager/

  2. mikejolley
    Member
    Plugin Author

    Posted 9 months ago #

    There's probably something weird in your single template.

    In your theme, duplicate single.php and name it single-job_listing.php. You can then edit single-job_listing and remove any headings from the template file itself.

  3. gregintheatl
    Member
    Posted 9 months ago #

    I got it figured out and I'd like to share just in case anyone else has this same issue.

    I followed your direction above, so THANKS for all the awesome support. It really makes a huge difference.

    There was, however, an extra step in my case which might help others. My theme has templates for multiple types of posts that are buried in the following path: /theme/postTypes/blog/post/ called fullwidth and sidebar.

    I duplicated both of those as well, naming them fullwidth-job_listing.php and sidebar-job_listing.php.

    I added these two new file names to the appropriate places in single-job_listing.php and then edited the new ullwidth-job_listing.php and sidebar-job_listing.php to get rid of the duplicative headlines.

    Hope that helps someone else!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.