[Solved] Get Array of Terms for Custom Post Type Outside of Loop with Post ID

Every stone I overturned looking for the answer to this issue I was met with “use wp_get_post_terms()” but unfortunately it does not work on custom post types. The solution, after much digging and experimenting is to use get_the_term_list() but with a couple of twists. Now, I have a custom post type called “faq”. To get the “terms” or “tags” for the “faq” post type you need to know what...

Read More Here >>

Paypal Is Expensive

I just went to convert £529.45 to Euros in my paypal account and noticed that paypal was offering the exchange rate at €1.14, when my currency ticker on my desktop is showing €1.17, a difference of 3 euro cents. So I checked xe.com and transferwise.com to compare rates and was taken aback at how much paypal is “skimming” from the exchange. See my screenshot mash up of the different rates. Basically paypal is making a shit tonne...

Read More Here >>

[SOLVED] Get ENOM balance into WHMCS

I have been running WHMCS for a while now and have had to keep logging into ENOM to get my balance which is a hassle as I have two factor auth and security questions setup so takes me a minute to get through all of that. Here is some php script you can put in a WHMCS widget to display your enom balance in your admin dashboard saving you some time. We are using simplexml to parse the results. PHP //define your credentials $enom_username...

Read More Here >>

[SOLVED] Extract URL’s From a PDF File using Free Online Tools

Quite often when I am doing some online marketing I receive reports in PDF format containing links and I need to somehow extract the links from the pdf in order to submit those links to various indexing services. I used to pay an outsourcer $10 each time, but now I do it myself and it takes less than 60 seconds. Here is an example of a PDF I will receive which contains links to all my press releases and as you can see they are not really in any...

Read More Here >>

[Solved] CSF/LFD Stop Emails containing “Suspicious process running under use X”

CSF really is an excellent IP Tables wrapper but these alerts can become a burden and you can essentially receive hundreds of them per day. Okay, for sure, the goal should be to fix the issues first but if you are a busy server admin, then this can take time so if you need to disable the emails, then just follow the steps below. 1. Edit the CSF config file Shell pico /etc/csf/csf.conf 1 pico...

Read More Here >>
NAVIGATION MENU