Jul 162018
 

WordPress ClassiPress Theme Troubleshooting post helps you resolve some of the most common issues and questions you might run into.

Last Updated: September 18, 2021

Latest Update: Updated the documentation.

WordPress ClassiPress Theme Troubleshooting

This is a list of common questions asked in the support forum. I have created this list to help you troubleshoot your theme issues. If you can’t find an answer to your problem please log into ClassiPress Support and ask for help. You will receive assistant as soon as possible.

Delete or Deactivate Plugin Solutions

Q1 How add and manage Adsense in the theme header?

Answer: Click on the following URL how to edit header to learn more.

The function is:

function disable_appthemes_adsense_header() {
remove_action( 'appthemes_advertise_header', 'cp_adbox_468x60' );
}
add_action( 'init', 'disable_appthemes_adsense_header' );
function my_custom_adsense_header() {
if( !is_page( array( 1, 2, 3, 4, 17 ) ) ) {
echo 'your adsense code here';
}
}
add_action( 'appthemes_advertise_header', 'my_custom_adsense_header' );

==================================

Q2 What is the best method to edit some of the strings in the theme?

Answer: A plugin I highly recommend is Loco Translate. There is another method, using Poedit. You can check the following URL Create a WordPress plugin or theme translation using poedit to learn more.

==================================

Q3 I have changed the pricing on my Classipress site. However, those who have not completed the orders are paying with the old price. Is there a way to flush the old order prices without deleting their pending and/or inactive ads completely?

Answer: The pending orders should be valid for a limited amount of time. During that time, its normal to fulfill it if user pays for the order. After the expiration period, you should “fail” the order and delete the pending ad/s. You could also add this type of information in your terms and conditions page.

Q3-a I would like to give them 30 days. I’d also like to be able to flush the orders. I want o keep their ads just in case they worked hard to create the ad and also added pictures etc. Can I just go into the orders sort by pending and delete all of them?

Answer: You can sort the orders by payment and then delete the orders one by one but that means the user will have no way to complete the pending ad submission. You have to either publish the ad yourself or simply delete pending ad along with the order. Check the following support thread to learn more.

==================================

Q4 The API keys are set up and added correctly, and the map and location test works fine in the back-end, but the map for listings isn’t loading anything. 

Answer: (Answer provided by ovidiubica moderator) I made a quick video that should clear the confusion on setting up google maps API. Be advised that you need to have a credit card linked to your Google API console. The service includes 200 USD worth of free traffic before Google draws a line and asks you to pay for their service. This can be found in the following forum post.

Note: Only new ads will work from now on. Previously published ads do not have the required details saved in the database since the API keys were missing.

==================================

I will be updating this post from time to time. So keep coming back for the latest troubleshooting questions and answers.

If you have a question please send me an e-mail or leave a comment.

Enjoy.

ClassiPress Theme Tutorial List:

I have been working in IT since 1999 and I enjoy the challenges it brings me. I love developing websites with WordPress. I spend a lot of time helping out in wordpress.org forums. I have been writing tutorials since 2011. Now I am learning how to manage my own VPS "Virtual Private Server.

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

14 − three =