Michael Levy
Forum Replies Created
-
Forum: Plugins
In reply to: [Yoast SEO] What pagination syntax does Yoast SEO read.Thank you. I tried this, but the canonical links are the same and haven’t been updated.
https://fliinvestors.com/investment-insights/page/2/<link rel="canonical" href="https://fliinvestors.com/./investment-insights/" class="yoast-seo-meta-tag" /> <link rel="next" href="https://fliinvestors.com/./investment-insights/page/2/" class="yoast-seo-meta-tag" />
Forum: Plugins
In reply to: [Gutenberg] Tool bar not appearing for dynamic Gutenberg blockI solved the problem. The issue was with the block registration. The project was based on create-guten-block and two lines listed in the documentation needed to be removed.
register_block_type( 'vpf/stories', array( /// 'api_version' => 2, /// 'editor_script' => 'gutenberg-vpf-dynamic', 'render_callback' => 'gutenberg_vpf_stories_dynamic_callback' ) );
I am having the same problem, spending hours trying to find my way through all the nested blocks. Reducing the number of levels in the HTML would make it much easier.
- This reply was modified 4 years, 12 months ago by Michael Levy.
Forum: Fixing WordPress
In reply to: Child theme print.cssDid you try enqueuing it?
Forum: Plugins
In reply to: [Gutenberg] setAttributes doesn’t save attributes<FeaturedRadio featured={attributes.featured}/>
Do you need to pass
attributes.featured
since it should already be accessible to the function?Forum: Plugins
In reply to: [Gutenberg] Gutenberg RadioControl saving but not not selecting radio.I figured it out. There is a typo in the position attribute in the selected field.
Forum: Requests and Feedback
In reply to: Provide warning when deleting media photosThey way I could see of doing this would be to add an image meta field that tracks which posts an image is used on when it is added to it. Though, if an image were erased in an WYSIWYG editor, it would be tricky to track the removal. The Gutenberg image block technology adds capacity here.
- This reply was modified 5 years ago by Michael Levy.
Forum: Requests and Feedback
In reply to: Reduce photos to reduce server pressure and speedPROBLEM
The main issue that I see is with storage and the speed of the upload process. If you have a site with many images, the bloat can be troublesome. It also means that when you port a site, you need to manage much more files than are necessary which creates inefficiencies.SOLUTION
The solution I see is to resize images on demand. Thumbnail generation could be triggered when a user adds it to the content, or when a template requests it. If the image is not present, the required size thumbnail would be generated.Forum: Plugins
In reply to: [Gutenberg] setAttributes doesn’t save attributesIt looks like the problem is the mix of setState and setAttributes.
Take a look at this example:
edit({ attributes, setAttributes }) { function onChangeCheckboxField( ) { let toggledValue=(attributes.isNew===true)?false:true; setAttributes( { isNew: toggledValue } ); } return ( <div className="container de_title"> <PlainText onChange={ content => setAttributes( { price: content } ) } value={ attributes.price } placeholder="price" className="price" /> </div> ); },
Forum: Fixing WordPress
In reply to: Gutenberg RadioControl saving but not not selecting radio.Thank you Carike!
Forum: Plugins
In reply to: [All-in-One WP Migration and Backup] Site could not be imported!Yes, a folder with CHMOD 777 is a massive security risk, but you can remove the migration plugin or change back settings when done.
Forum: Hacks
In reply to: Publishing a post with JqueryI figured it out after tracking back the action and reading the post.php file.
The publish button has a name and value that needs to be carried over.jQuery('form#post').append('<input type="hidden" name="publish" value="Publish" /> '); jQuery('form#post').submit();
It is really pretty simple.
Forum: Fixing WordPress
In reply to: categoriesYou’re welcome!
Forum: Fixing WordPress
In reply to: How to pass post content to external pageI don’t understand what you are asking.
Are you trying to make a light box effect, a clean printing page, etc..?Forum: Fixing WordPress
In reply to: How can I increase archieve post size limit? (youtube)Have you tried making an explicit excerpt entry or using the <!-more–> tag? The more tag is available in the toolbar.