Classifieds Customization on Posts Page

Hi I was curious about where exactly the main classifieds listing page is generated from. I would like to add a sidebar and other details to the following page :

http://imageforthought.com/interlist/classifieds/

but am not sure what file to append to.

Also, when I click on an individual Ad, The ad Info does not show on the following page.

http://imageforthought.com/interlist/classified/number-2/

If I can find the php file with that calls the post values that builds each classified ad (or at least the index page) I can recreate those fields / display that info on other pages.

Ideally first I would like to start by customizing the main classified index page: http://imageforthought.com/interlist/classifieds/

Which file would I add to/ modify to do this ?

  • Vaughan
    • Support/SLS MockingJay

    hiya

    the classifieds plugin has a set of default templates. you can find them in the /classifieds/ui-front/general folder of the plugin.

    the listings page, is page-classifieds.php & so on.

    you can either copy the ones you need into your theme & customize them there, or create new pages in your theme such as page-classifieds.php & then copy the code to them for what you require.

    hope this helps.

  • Kevin
    • New Recruit

    I just wanted to quickly add to this question.. I took a look at the page-classifieds.php but am unable to trace back to exactly what functions are being referenced here.

    could any of the following pull the single post information needed to fully display this page with thumbnail and other post info: http://imageforthought.com/interlist/classified/number-2/

    “” global $bp, $post, $wp_query, $paged;

    $options = $this->get_options( ‘general’ );

    $paged = ( get_query_var( ‘paged’ ) ) ? get_query_var( ‘paged’ ) : 1;

    remove_filter( ‘the_title’, array( &$this, ‘page_title_output’ ), 10 , 2 );

    remove_filter(‘the_content’, array(&$this, ‘classifieds_content’:wink:);

    $query_args = array(

    ‘paged’ => $paged,

    ‘post_status’ => ‘publish’,

    ‘post_type’ => ‘classifieds’,

    //’author’ => get_query_var(‘author’:wink:,

    );

  • Vaughan
    • Support/SLS MockingJay

    hiya

    i’m not sure on this. page-classifieds.php is like the listings page or archive.php

    for the single classified page, i believe it’s single-classifieds.php

    let me just ask @arnold to chime in here as he will be able to point you in the right direction. at this stage you probably have more experience than i do with themeing classifieds as it’s not something i’ve attempted before.

  • Arnold
    • El Macho WP

    The single post would be from the single-classified.php. That would have the calls for the thumbnail etc.

    For the /classifieds/ page what you have above sets up the loop. At the bottom is a line

    load_template( CF_PLUGIN_DIR . 'ui-front/general/loop-taxonomy.php' );

    which is what displays each post from the loop. So you use loop-taxonomy.php

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.