Taufan
Forum Replies Created
-
Hi David,
Hope you and your family are well.This is the last two line of my debug.log (i dont know what it is, maybe this has nothing to do with MLA)
[13-Jul-2022 08:55:47 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/runcloud/webapps/TF/wp-content/themes/mts_agency/includes/dynamic-css.php on line 75 [13-Jul-2022 09:24:19 UTC] PHP Deprecated: Hook block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /home/runcloud/webapps/TF/wp-includes/functions.php on line 5754
Q: Your shortcode includes
mla_alt_shortcode=gallery type="rectangular"
, so it looks like you are using some other plugin to generate the gallery display; is that right? If so, can you give me the details of the other plugin?
A: I can’t remember where i get this shortcode, maybe from the other post i read in this plugin support 1 year ago, but i can’t remember clearly. But im sure it’s gallery display from Jetpack plugin.Q: If you remove the
mla_alt_shortcode=gallery
parameter, does the page load and display a gallery?
A: I also already Deactive Jetpack plugin. And still the page didn’t load. Even the simple shortcode[mla_gallery mla_terms_phrases="venice" attachment_category="italy" numberposts=10]
Q: If the site running well in admin mode?
A: Running well. It’s fast. But when i try edit some post contain [mla_gallery] in Dashboard Post Edit it will loading forever, and my CPU detected as i high resource. Sometime it show this error message:Updating failed. The response is not a valid JSON response.
or:
Error 524. A timeout occurred
When I Deactive MLA plugin, all normal again, and i can edit post again.
But, i just found the solution.
This is my actual shortcode. I have 6 shortcodes like this on the one page, with the different term (eg: rome, milan, florence, etc.)
[mla_gallery mla_terms_phrases="rome" attachment_category="italy" mla_alt_shortcode=gallery type="rectangular" numberposts=10 orderby=rand]
I replace
mla_terms_phrases=”rome”
toattachment_tag="rome”
I didn’t expect it. And now it’s running normally again.
The problem resolved.I really don’t understand. Does this
mla_terms_phrases
shortcode consume so much resources? that my cheap server can’t afford to handle it?My last question:
1. What the different between
orderby=rand
,orderby=random
,orderby='rand'
andorderby="rand"
Because I found my inconsistency in writing this
orderby
shortcode. Which one should i use? What’s your suggestion?Another question:
2. A couple month ago i try add MLA shortcode to php.
I create this “PLACE” and “COUNTRY” Custom Field below using ACF (Advanced Custom Field) plugin.PLACE = art museum
COUNTRY = abu dhabi<?php echo do_shortcode( '[mla_gallery mla_terms_phrases="'.get_field("PLACE").' | '.get_field("COUNTRY").'" mla_alt_shortcode=gallery type="rectangular" numberposts=10 orderby="rand" mla_phrase_connector="or" mla_phrase_delimiter="|"]' ); ?>
According the documentation The **default delimiter** is a space (‘ ‘). So i change it to
mla_phrase_delimiter="|”
Because I wanna display “art museum” in “abu dhabi”, NOT “art” or “museum” ini “abu dhabi”.
It’s work. But im not sure. Is my shortcode correct? What’s your suggestion?
Sorry for my english, i hope you understand.
May God bless you and your family because your Great plugin.Thank you.
??What if “2 weeks ago” ?
Should we type2 week ago
or2 weeks ago
?And what about “3 days ago” ?
Can we type3 day ago
or3 days ago
?Thanks.
Hi,
When testing, everything went smoothly.
I’m using Jetpack Gallery. But when I addmla_alt_shortcode=gallery
it turns out that the Heading doesn’t appear anymore.Example:
[mla_gallery mla_markup=custom-heading attachment_category=vegetable heading_suffix=Vegetables mla_alt_shortcode=gallery type="rectangular"]
Any idea?
Forum: Plugins
In reply to: [Media Library Assistant] How to hide gallery if only 1 image is shownPerfect.
It works like a charm.May God bless you and your family.
??Forum: Plugins
In reply to: [WP Random Post Thumbnails] Hope for an update?I’m also hoping for an update ??
Forum: Reviews
In reply to: [Simple Shortcode for Google Maps] Best Google Map Shortcode pluginBut I have a problem. If I want to display more than 1 map (for example 5 maps) on 1 Page then only the last map (bottom of the page) can zoom-in and zoom-out.
While the other maps are in the form of images only.
??Forum: Plugins
In reply to: [Real-Time Find and Replace] Replace specific word inside “li”I try
Replace:
/(<.*?>)(.*Apple?)(<*.*?>)/
With:
$1<a href="">#Apple</a>$3
But I dont know what is that.
The result is Blank page.- This reply was modified 4 years, 2 months ago by Taufan.
- This reply was modified 4 years, 2 months ago by Jan Dembowski.
Forum: Plugins
In reply to: [AMP for WP - Accelerated Mobile Pages] Related posts didn’t show upNumber of Related Post is set to 6, but on my website only show 2 post. For Your Information, i have 300 post, all post are in the same category.
https://monosnap.com/file/bbIyz9g35muzWXUFsomEu5d31cphP7
I have to update my article one by one to be able to display “Related Post”.
A minute ago, i update 1 article. So there is a three Related Post right now.
Sorry for my Engslish. I hope you understand.
Many thanks.Is there any solution, except using version 3.4.0 ?
Thanks,
I already install exif, mbstring, cURL and gd ext.—————
INFO
—————
php 5.6+ 7.2.12
cURL installed on your server
gd installed on your server
mbstring installed on your server
exif installed on your server—————-
I also already bought a proxy.
Now, i have another problems. what does this error means?——-
Response: Network: CURL error 35: error:140770FC:SSL routines:SSL23 GET SERVER HELLO:unknown protocol
——Thanks.
Hi,
The random post link only work before version 3.5.3
And i dont know what to do.
Please check.
https://risalahmuslim.id/quran/al-araaf/7-192/FYI, I’m using Custom Post Type UI to create that post.
Thanks.Hi,
1. After deleting and reinstalling the plugin now it’s working corectly, but except Random Icon.
When visitor click Random icon it’s go to current link (not random).2. How to translate this plugin to my language. I have Loco Translate plugin in my site but i found this message –> No translations found for “floating-links”
Thanks for your help.
I really appreciated.Same problem here.
ArgumentCountError thrown Too few arguments to function wpdb::prepare()
I don’t wanna update NExtGen anymore.
Forum: Plugins
In reply to: [UpdraftPlus: WP Backup & Migration Plugin] Cannot authorize Google DriveYes.
It’s work.
Many thanks.Forum: Plugins
In reply to: [UpdraftPlus: WP Backup & Migration Plugin] Cannot authorize Google DriveWaaaa….
me too
Error 526: Invalid SSL certificate.
??