Hi,
Our Single listing pages are Custom Post Type “acadp_listings” and they cannot be found under “WordPress => Pages”. Normally the layout for posts is controlled by single.php of your theme. Since ACADP listings are Custom Post Type “acadp_listings”, they will use the same post template(single.php). So, you can Override the single post template(single.php) from your theme, like “single-acadp_listings.php” and do your changes inside this file. Kindly refer https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
Also, please check with your theme support team to add/remove the sidebar.
But, if you just want to alter the listing content displayed, then you will need to override our listing detail page template. Kindly refer https://pluginsware.com/documentation/customizing-acadp-templates/
You will have to override the /wp-content/plugins/advanced-classifieds-and-directory-pro/public/partials/listing/acadp-public-listing-display.php file
Thanks
Thread Starter
sukalo
(@sukalo)
I am actually just trying this method, thank you.
I have done this override template step already but it doesn’t work for me, it’s not using the override folder unfortunately as I do have some changes to this file that I have had to do directly in your folder.
Thread Starter
sukalo
(@sukalo)
So after extensive testing tonight I have eliminated the single.php file from the cause of issues I’m having as i can use my template and remove the single.php file and it isnt required, if i remove the template the single.php is then required.
image here
the issue I face is when I use the template the page changes to this where:
Blue top left is the listing title and images
Teal top right is the map and contact form
Red is the issue this is my custom content that I design loads here.
Yellow is the custom fields, author, social media buttons etc.
For some unknown reason with your plugin only this happens, every other plugin, page, post I have is completely editable and I can put the content inside my design, yours puts my design in the middle of your content and I can’t understand why. Any help would be greatly appreciated. Thanks
Thread Starter
sukalo
(@sukalo)
Sorry I forgot to mention in my last post a couple of parts from the listing does get picked up and goes inside my template which is extracted from the listing itself.
It seems the Content Excerpt in which users write a description but not the full description as finishes with a … is working and the Author is working (username, date of listing, time & comments)
The custom fields don’t get included nor the images, title or contact details / map.
Are these elements that could be added in some way?
Regards
Sorry, we couldn’t able to get your issue clearly. Could you please submit a ticket on our site https://pluginsware.com/submit-a-ticket/ with your site link? So that our tech team will check and update you.
Thanks