aljuk
Forum Replies Created
-
Forum: Plugins
In reply to: [SEOPress - On-site SEO] Problem with archive title templatesExcellent, many thanks!
Forum: Plugins
In reply to: [SEOPress - On-site SEO] Global value field for business type not savingHi, no worries. I found the Real Estate Agent in the list. Thanks.
Forum: Plugins
In reply to: [SEOPress - On-site SEO] Schema data can’t see custom fieldsSolved. I found the necessary code here: https://www.seopress.org/support/hooks/filter-custom-fields-list-in-schemas/
Forum: Plugins
In reply to: [Code Snippets] 501 Errors“I’m not really sure what the issue is here”
The issue is that the snippet can’t be edited or changed in the editor, and attempting to do so, or to make any changes in the editor at all (even like creating a new line), causes a 501 when I attempt to save.
I don’t think it has anything to do with the content of the snippet per se.
When I copy and save the snippet straight into its database field via phpmyadmin, everything’s fine.
I can only imagine perhaps some issue with text encoding or length (it’s a long snippet) or something of that nature. Maybe I’m somehow triggering an edge-case of some sort.
Forum: Plugins
In reply to: [GEO my WP] Duplicating posts that have locationsHi @ninjew
The different way to my goal was to change my goal (haha) – I’ve gone with automatic Google translation and ditched the idea of doing it manually – I don’t need it with the kinds of listings I’m doing (more data than description), so the problem no longer exists for me at this time.
But to answer the gist of your question re. the map data, no I didn’t have success with cloning posts and having that data copy to the new post. I tried in a number of different ways, with several of the clone page type plugins from the repo. It would be really useful, obviously.
Forum: Plugins
In reply to: [GEO my WP] Duplicating posts that have locationsI’ve found a different way to my goal, so I’ll close this thread.
Forum: Plugins
In reply to: [Code Snippets] 501 ErrorsSure. The complete snippet is really long, so I’ll just include a bit of it and describe the scenario that triggers the error. The snippet creates meta boxes (using CMB2) which is something I’ve been doing with Code Snippets for a long time, and here is a bit of it, creating a dropdown of options to set some post meta data …
add_action( 'cmb2_admin_init', 'register_metabox' ); function register_metabox() { $meta_boxes_1->add_field( array( 'name' => esc_html__( 'Languages', 'admin-cmb' ), 'desc' => esc_html__( '(tick all that apply)', 'admin-cmb' ), 'id' => 'agent_languages', 'type' => 'multicheck', 'options' => array( 'cn' => esc_html__('Chinese','admin-cmb'), 'de' => esc_html__('German','admin-cmb'), 'en' => esc_html__('English','admin-cmb'), 'es' => esc_html__('Spanish','admin-cmb'), ), ) ); }
To add another option (ie. in this case another language choice), I copy one that exists, hit the return key to create an empty line, paste it in, change it as necessary, and click save. This is what started throwing 501 errors on me today, as soon as I tried to save. If I copy the whole snippet, paste it into a stand-alone code editor, edit it, then copy and paste the whole snippet back into Code Snippets, 501 again. If instead I paste it straight to the Snippets field in the database, it accepts it and everything’s normal.
At one stage I had the order of two of the options wrong, and wanted to swap them around. It wouldn’t save it, whether I copied just the bit of code and made a new line to paste it into, or copy/pasted the whole line.
I kept an eye on the browser console, but nothing was evident.
- This reply was modified 3 years, 8 months ago by aljuk.
Forum: Plugins
In reply to: [GEO my WP] Conditional test for single map ?Great stuff!
Many thanks.
It was a problem with the auto update. I updated manually and it’s fine.
Hi, thanks, I figured that out. I just thought you should know.
Forum: Fixing WordPress
In reply to: Warning: escapeshellcmd() has been disabled for security reasonsHi, thanks for the feedback, good to know …
Forum: Plugins
In reply to: [Easy Watermark] Post type selection is being ignoredThank you, I think it’s essential.
Forum: Plugins
In reply to: [Easy Appointments] Form field visibility / empty values in emailsAnyone?
Forum: Plugins
In reply to: [Easy Watermark] Post type selection is being ignoredOk, that’s such a shame, this plugin is so close to being perfect but not being able to apply watermarks selectively makes it unusable for me personally.
Forum: Plugins
In reply to: [SEOPress - On-site SEO] Latest update is badSeems good so far, thanks!