Rafa?
Forum Replies Created
-
Forum: Plugins
In reply to: [hCaptcha for WP] Composer warningsOK, I’m going to be patient, thank you!
Forum: Plugins
In reply to: [hCaptcha for WP] hCaptcha and jQueryIndeed, now hCaptcha works without jQuery. I haven’t checked the last version, sorry. (But some earlier versions did not work without jQuery – blank box – in my WP environment, really)
Forum: Plugins
In reply to: [Lightbox with PhotoSwipe] Admin Columns integrationWould be great, thank you!
Forum: Plugins
In reply to: [Hyperlink Group Block] Empty CSS Custom Properties in style attributeFixed since version 1.17.4.
Thanks! ??Forum: Plugins
In reply to: [Hyperlink Group Block] aria-label please+1
Forum: Plugins
In reply to: [Estatik Real Estate Plugin] How to customize PDF file nameThank you are trying to help me.
It isn’t clear for me, because I’m not a PHP programmer. Could you guide me further, please?Forum: Plugins
In reply to: [Estatik Real Estate Plugin] How to customize PDF template@novaleks I know I have to overwrite the template, but HOW to construct a function that passes the background color for QR code image???
Any help appreciatedForum: Plugins
In reply to: [Estatik Real Estate Plugin] How to customize PDF templateHi!
Sorry, it’s too difficult for me. Am i allowed to add another parameter here to set the background color or set it as transparent?Forum: Plugins
In reply to: [Estatik Real Estate Plugin] How to customize PDF templateHow to change the background color of QR code image?
(the default is #C4C4C4)I’ve changed this line:987 in \estatik\libraries\phpqrcode\phpqrcode.php
$col[0] = ImageColorAllocate($base_image,196,196,196);
as the last 3 parameters stands for R,G,B values
And it works, but I’ll lost this at next update of Estatik,
Is it possible to apply a filter to save my customization?Forum: Plugins
In reply to: [Estatik Real Estate Plugin] PHP CodeProbably it depends on the place you want to fetch the
price
I’ve created my customization by copying template
\wp-content\plugins\estatik\templates\content-single.php
to
\wp-content\themes\my-theme\estatik\content-single.php
es_get_the_property_field('price')
gives me an integer (if I set the price of property with decimal separator, then it gives float / double).Seems that your code is placed out of scope – you get NULL there, then converted to integer gives you 0. So checking (after changing the type) if the variable is numeric or not makes no sense.
- This reply was modified 2 years, 4 months ago by Rafa?.
Forum: Plugins
In reply to: [Estatik Real Estate Plugin] PHP CodeIf you want to do math operations, then you should get the
price
onlyes_get_the_property_field('price')
Thank you very much!
Forum: Plugins
In reply to: [Advanced Ads –?Ad Manager & AdSense] File size restriction for single imageHi Joachim,
Thank you for your assistance. (I didn’t receive an email on your replay, as usually, that’s why my delayed answer).
No chances to set a filter eg.
wp_handle_upload_prefilter
to check if current post type isadvanced_ads
(i believe), then don’t pass too heavy image?Best regards!
Forum: Plugins
In reply to: [Estatik Real Estate Plugin] How to customize PDF templateGoing to tackle. Seems to be a hard task ??
Thank youForum: Plugins
In reply to: [Advanced Ads –?Ad Manager & AdSense] Change DIV to ASIDE tagI’ve figured out a workaround earlier.
Used Insert after nth paragraph
My $ad_code =<aside class="advads-content">[the_ad_placement id="the-name-of-my-manual-placement"]</aside>
where i put the shortcode of my Manual Placement.Do you think this solution is safe / has any weaknesses?