• Resolved topdotter

    (@topdotter)


    For all the actual pages (example Categories, Login, Search Results), I have the option to change the layout when editing the page. This is good cause using two sidebars is too crowded.

    However, for the detail listing post-type, i.e. what’s normally /acadp_listings/some-user-classified-ad-url/, how do I customize those custom post-types layout?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author pluginsware

    (@pluginsware)

    Just copy the single.php inside your /themes/ folder, rename it as single-acadp_listings.php and edit the file to match your needs.

    Thread Starter topdotter

    (@topdotter)

    Where do I place the new template file? In Theme folders, Child Theme folder, or somewhere in ACADP folder structure?

    Plugin Author pluginsware

    (@pluginsware)

    We always recommend having a child theme. So, the structure goes like /wp-content/themes/child-theme/single-acadp_listings.php

    ACADP folder structure is required only when you like to override our plugin content. But, your actual question was about modifying the custom post type template.

    sasfox

    (@sasfox)

    Hi there, were do i find the listing.php in my website?

    Also i would like to make the contact number on the /acadp_listings/some-user-classified-ad-url/ section to be clickable for mobile devices how can i do this?

    Thread Starter topdotter

    (@topdotter)

    We always recommend having a child theme. So, the structure goes like /wp-content/themes/child-theme/single-acadp_listings.php

    Interestingly, I copied acadp-public-listing-display.php from the partials directory, renamed it single-acadp_listings.php, and placed it in my child theme directory. I know it’s being used since echo’d some html to the page. However, I’m getting an error since $fields is just an empty string. I know it must be a variable scope issue. I was hoping to use your template and modify it as needed rather than starting from single.php and building up since my themes single is way different than I’d want an acadp listing page to look like. Do you have advice?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Edit listing detail page’s layout’ is closed to new replies.