Removing Fields
-
Hi, how doI remove this box thats says free listing. All listing on my site are free so how do I get rid of this box.
Thanks
-
Hi @sunnyschafieh,
You have a couple of options here, but please keep in mind that all ads must have some kind of fee plan associated to them, even a “free one” so getting rid of this entirely is not an option. But you can alter the display a bit.
1) You can change the strings for the display, using the translation file so it doesn’t say “Free Listing”. http://awpcp.com/quick-start-guide/#qs-translate
2) You can hide this box with custom CSS (display: none). Here is an article about how to use custom CSS with AWPCP in a way that doesn’t get overwritten on upgrade of AWPCP: http://awpcp.com/forum/faq/how-to-use-custom-styles-with-awpcp/
Try that and let me know if you run into more issues.
Ok thanks. I got it to what I wanted.
Do you know the source text for the part where it says 30 days and where it says $0.00.
Those are the only two things left.
ThanksHi @sunnyschafieh,
Are you using the custom CSS method? Or are you trying to modify some of the strings?
The $0.00 and 30 days are data that are queried from the fee plan table, so they aren’t in the translation file. If you’re NOT doing the custom CSS way, I’d suggest that instead of trying to find that in the translation file because that won’t work with dynamic data.
Hi
I am using some of the stings. I don’t know how to do css. Is there any way to edit the fee plan table?
Thanks
I would strongly recommend against editing the code in the plugin in any way. That will prevent you from being able to upgrade in the future, as those changes will be lost on upgrade and you’ll have to manually move them yourself.
CSS isn’t too difficult to learn. The hardest part is understanding the syntax of how to target elements in a page, but tools like Chrome Developer Console and Firefox Developer Tools will help you find those elements pretty easily. That’s going to be the easier and safer path.
If that’s still beyond your means, there are a few great resources to help you out here.
1) Tilden Tasks: https://tildentasks.com/ They will also do longer WordPress tasks, but they break it down to 1 task per day.
2) Codeable, which has WordPress expert developers available for short-term projects: https://codeable.io/
3) Samantha Munoz, independent contractor: https://www.samanthamunoz.com/4) The last option would be hiring a developer on Upwork (formerly known as oDesk) to help out if you think this is beyond your current skill set. http://upwork.com There’s a lot of decent folks on there as well.I entered this in the my style.css , I don’t know if it’s okay, it looks like it works.
These are the classes in the <div> box:.awpcp-payment-terms-list .awpcp-payment-term {
display: none !important;
}
The topic ‘Removing Fields’ is closed to new replies.