Blutarsky
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Staging sites – best practicesIt will handle db changes but how about file changes?
How does the merge mechanism work?
Cory, is a manually-created mysqldump archive from command-line (and added manually to the folder where the manual extraction occurs) valid?
Forum: Plugins
In reply to: [File Away] Opening PDFs as usual?Sort of tutorial: https://prntscr.com/cbhoh9
Humm… I have opened the task manager while Duplicator was creating the package however I did not ever see mysqldump.exe running during the process…
Seems working, I had to insert the name of the executable.
Still the slashes are spoiled or is this by design?I am dumping from my Windows PC to the providers machine (Linux) ,and have been using PHP till now.
While I imagine that mysqldump is standard on the ISP host (should I check for this?), is there a recommended version for Windows?
Thanks!
I think it’s a nifty feature, on a production site is really bad having a downtime with no warning…. sometimes you just don’t have time to tell everybody that the site will be down for maintenance between xx and yy…
Of course you can do this (replace .htaccess) manually, however… ????
I have tested uploading the site with all plugins disabled and reactivating them a bit at time seems helping. I believe that some plugins are fooled when running with an “image” somehow to the backup site. Possible? The permalink issue remains
Forum: Hacks
In reply to: Ajax callback and shortcode functionality??
Forum: Hacks
In reply to: Ajax callback and shortcode functionalityThank you mate for clarifying. Another important aspect is that in this scenario using shortcodes (or functions behind shortcodes) has no guarantee of success: execution may fail just because the flow in the code is being altered depending on
is_admin()
(Ajax code is always run withis_admin()
set to true. Correct?Forum: Plugins
In reply to: [File Away] Calling functions in place of shortcodes?Hi there mate I’m experiencing some trouble using the function from an Ajax callback, getting an empty result.
I see that some functions being called in an ajax callback require the code to include wp.load.php to allow proper handling.
Is this the case?
Forum: Plugins
In reply to: [File Away] Opening PDFs as usual?Got the answer from the tutoria!
Forum: Plugins
In reply to: [PDF Embedder] How to call shortcode function from themeDan the shortcode is behaving in a strange way when assigned to a variable.
echo do_shortcode("[pdf-embedder url='https://someurl/policy.pdf']"); //works correctly $timetable = do_shortcode("[pdf-embedder url='https://someurl/policy.pdf']");//not working as expected
I believe you are applying some filtering when the address of the pdf is being output from WP?
Forum: Plugins
In reply to: [File Away] Multi column layoutSolved!
Add this to CSS:
fileawayDIVcontainer a { -webkit-column-break-inside: avoid; page-break-inside: avoid; break-inside: avoid; }