Support » Plugin: Content Blocks (Custom Post Widget) » Possible conflict between Custom Post Widget and WP Job Board

  • Resolved mviens


    Hello – great plug-in!

    I just updated a client’s site to 3.1.2 and had a new section (Locums) in development using the WP Job Board Plugin and am now experiencing a strange phenomenon: the main content is being repeated in my footer on the Job Board pages.

    I added the following to my template/function.php so I could test modifying the footer for just the Locum (Job Board) pages and not affect the “live” site:
    // Area 9 TEST
    register_sidebar( array (
    ‘name’ => ‘Locum Footer Content’,
    ‘id’ => ‘locum_footer_widget_area’,
    ‘before_widget’ => ‘<li id=”%1$s” class=”widget-container %2$s”>’,
    ‘after_widget’ => “”,
    ‘before_title’ => ‘<h3 class=”widget-title”>’,
    ‘after_title’ => ‘</h3>’,
    ) );

    I then logged in to WP Admin, and in Appearance / Widgets, I added various widgets to the new Locum Footer Content. If I use something like “Text – Arbitrary text of HTML”, it works fine and the text I enter is displayed in the footer as expected without the repeated page content. When I use “Content Block – Displays custom post content in a widget”, regardless of what content block I choose for “Content Block to Display”, I get the repeated page content in the footer:

    Based on this, I would assume that there is some conflict between Content Block Widget and WP Job Board. I have contacted Greg, the developer of WP Job Board, and thought I would follow up with you as well.

    Any insight/recommendations would be greatly appreciated – I am trying to get the new section posted ASAP. If I can’t resolve it quickly, then I may just opt to not have any content in the Footer on these specific pages.


Viewing 1 replies (of 1 total)
  • Plugin Author Johan van der Wijk


    Because WP Job Board is a paid plugin I cannot test this myself. I suspect the issue is caused by the fact that the job board content is automatically added to the post via a filter.

    It should be quite straightforward to stop it from adding the content to the custom post type named content_block but as I don’t have the plugin code I unfortunately cannot be more specific.

Viewing 1 replies (of 1 total)
  • The topic ‘Possible conflict between Custom Post Widget and WP Job Board’ is closed to new replies.