djpacmansd
Forum Replies Created
-
Forum: Plugins
In reply to: [Easy Invitation Codes] [Fixed] All plugin issues fixed & WooCoomerce SupportHi, would you mind linking that file again? Would greatly appreciate it. Thanks.
Forum: Plugins
In reply to: [Comments by Startbit] Import comments from old url to new urlForum: Plugins
In reply to: [Optin Forms - Simple List Building Plugin for WordPress] SIDEBAR@drjamesg it’s basically the code you put in a text box. Should look like this [optinform]
Forum: Plugins
In reply to: [Countup JS] Comma returning as undefinedHi,
Ran into the same problem. Seems there is a typo in the code as mentioned by another thread below.
In initialize.countup.js change line 7 of initialize.countup.js
from
separator : setting.separator,
to
separator : setting.seperator,Forum: Plugins
In reply to: [Theme Check] sanitize callbackNew myself but just looking at your code in the if statement:
function phoenix_sanitize_hex_color($color) { if ($unhashed = sanitize_hex_color_no_hash($color)) return ‘#’ . $unhashed; return $color; }
Your operator
=
is defining variable$unhashed
tosanitize_hex_color_no_hash($color)
instead of checking a condition. If I remember correctly on php syntax to compare and see if two values are the same you’d have to use==
. Lastly I think you’re also missing an open curly brace in your if statement.So I would try to write the code using that like this:
function phoenix_sanitize_hex_color( $color ) { if ( $unhashed == sanitize_hex_color_no_hash( $color ) ) { return ‘#’ . $unhashed; return $color; }
If you really want to get specific you can compare the value and data type (string, integer, boolean) by using
===
Let me know if that works.
- This reply was modified 8 years, 3 months ago by djpacmansd. Reason: error
Forum: Plugins
In reply to: [Facebook Comments] What category of fb app?I’m sorry, maybe I understood wrong. What exactly are you trying to do? Have a post and all it’s comments from your site push to a facebook group / business page?
Forum: Plugins
In reply to: [Facebook Comments] What category of fb app?Hi,
here’s what I did to get an App ID. I went to the dev page https://developers.facebook.com/
You’ll have to login if you haven’t already. From there hover over where it says “My Apps” and create a new app. After you complete that you should be able to get an App ID. I hope this helps.