Duplicate content
-
Hi Guys, im using wpadverts and making some adjustments to the styles, for buying the pro version and using paypal and other stuff. I have some doubts and you can help me to:
https://progresohispanonews.com/adverts/
https://progresohispanonews.com/advert/bicicleta-sworks-venge/1. Duplicate content in the page. Images and Text in the Description area is duplicate in the footer.
2. Im trying to make the site fully automated to create, pay and publish clasiffieds, but i cant make all the ads take the sidebar that i want, always put the same of the website.
3. Is there a way to use my own icons or images?I think those questions will help me to create the ad page in the site.
Thank you so much
The page I need help with: [log in to see the link]
-
Hi,
1. the first duplicated image (above) gallery is just a theme showing a featured image, the best way to get rid of it is to add the code below in wp-admin / Appearance / Customize / Additional CSS panel.single-advert .td-post-featured-image { display: none !important; }The duplicated Ad details page in the footer is more problematic, but you should be able to have it fixed by adding the code below in your theme functions.php file
add_action( "wp_footer", function() { remove_filter('the_content', 'adverts_the_content', 9999 ); }, 1 );2. hmm i am not exactly sure what do you mean? Would you like to be able to select which sidebar shows on which page? If so then this depends on the theme mainly, but with most themes, a plugin like Custom Sidebars https://ww.wp.xz.cn/plugins/custom-sidebars/ will allow you to configure different sidebars.
3. yes, this is possible with the Category Icons https://wpadverts.com/extensions/wpadverts-category-icons/ extension.
Hi Guys, thanks for your help.
1. Fixed
1.1. Doesn’t work 🙁 (Tested on different places of functions.php, but doesn’t work ) Other idea?
2. In detail ad pages, i want to show a sidebars created to that section. My theme allow me to create those sidebars and use it, but i want to make it automatically in every ad detail ad page.
3. Excelent. we are detailing the public site first to buy the pro license.4. I didn’t find how to keep the images on the detail page, when i scroll the photos to the last one, it disappear.
Hi,
1.1. if you have some other plugins installed try switching them off one by one and see if and when the problem goes away, if that will not help try switching to a different theme and see if there is the same problem.This should allow you to pinpoint what is causing the duplicate content.
2. the Custom Sidebars plugin i linked to in the previous message should allow you to do that, if not then it would be best to ask your theme support how to automatically apply a custom sidebar to an “advert” Custom Post Type pages.
4. most likely this is caused by the gallery being displayed twice, once you will have #1.1 fixed this should resolve itself.
The topic ‘Duplicate content’ is closed to new replies.