Haldan
Forum Replies Created
-
Forum: Plugins
In reply to: [Simple Custom CSS and JS] Editor broken after update@diana_burduja Thanks for the update! I didn’t see this until @dylanabbott replied, so thanks Dylan.
So far, the update appears to have fixed the issue for me. I will update if something changes. In the past, the problem occasionally appeared to have fixed itself (I.e., I could briefly access the list of custom codes and edit them), but any refreshing of the page or reaccess would lead to the problem appearing again. So far with the update this is no longer the case. Fingers crossed!
Forum: Plugins
In reply to: [Simple Custom CSS and JS] Editor broken after updateI had to change wp_postmeta to match the name of the corresponding table in my db, but this is what I got
meta_id|post_id|meta_key|meta_value|8030|3151|_vp_words_count|23|8033|3151|_edit_last|1|8034|3151|options|a:5:{s:4:”type”;s:6:”header”;s:7:”linking”;s:8:”internal”;s:8:”priority”;s:1:”5″;s:4:”side”;s:8:”frontend”;s:8:”language”;s:3:”css”;}|8035|3151|_edit_lock|1638504092:1
Forum: Plugins
In reply to: [Simple Custom CSS and JS] Editor broken after updateJust to add, I tried running in recovery mode as well. When I try to reach the plugin screen, I get a WP error screen that just says “Invalid post type.”
On the installed plugins screen, the plugin shows the following error (wordpress also sent me an email indicating a fatal error occured in this plugin):
Error Details
=============
An error of type E_ERROR was caused in line 281 of the file /home/dh_9fgryu/palmsout.net/wp-content/plugins/custom-css-js/includes/admin-screens.php. Error message: Uncaught TypeError: unserialize(): Argument #1 ($data) must be of type string, array given in /home/dh_9fgryu/palmsout.net/wp-content/plugins/custom-css-js/includes/admin-screens.php:281
Stack trace:
#0 /home/dh_9fgryu/palmsout.net/wp-content/plugins/custom-css-js/includes/admin-screens.php(281): unserialize(Array)
#1 /home/dh_9fgryu/palmsout.net/wp-content/plugins/custom-css-js/includes/admin-screens.php(352): CustomCSSandJS_Admin->get_options(3151)
#2 /home/dh_9fgryu/palmsout.net/wp-includes/class-wp-hook.php(310): CustomCSSandJS_Admin->manage_posts_columns(‘type’, 3151)
#3 /home/dh_9fgryu/palmsout.net/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(”, Array)
#4 /home/dh_9fgryu/palmsout.net/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#5 /home/dh_9fgryu/palmsout.net/wp-admin/includes/class-wp-posts-list-table.php(1387): do_action(‘manage_custom-c…’, ‘type’, 3151)
#6 /home/dh_9fgryu/palmsout.net/wp-admin/includes/class-wp-list-table.php(1766): WP_Posts_List_Table->column_default(Object(WP_Post), ‘type’)
#7 /home/dh_9fgryu/palmsout.net/wp-admin/includes/class-wp-posts-list-table.php(1421): WP_List_Table->single_row_columns(Object(WP_Post))
#8 /home/dh_9fgryu/palmsout.net/wp-admin/includes/class-wp-posts-list-table.php(829): WP_Posts_List_Table->single_row(Object(WP_Post), 0)
#9 /home/dh_9fgryu/palmsout.net/wp-admin/includes/class-wp-posts-list-table.php(805): WP_Posts_List_Table->_display_rows(Array, 0)
#10 /home/dh_9fgryu/palmsout.net/wp-admin/includes/class-wp-list-table.php(1676): WP_Posts_List_Table->display_rows()
#11 /home/dh_9fgryu/palmsout.net/wp-admin/includes/class-wp-list-table.php(1603): WP_List_Table->display_rows_or_placeholder()
#12 /home/dh_9fgryu/palmsout.net/wp-admin/edit.php(495): WP_List_Table->display()
#13 {main}
? thrown@nextendweb_gabor Thanks for the reply Gabor!
Yes, I frequently use shortcodes on Tove (e.g. the audio shortcode), and it works just fine!
But for whatever reason, when I went to try to double check that other shortcodes work, the slider started to render on the archive pages! Not sure what could have changed, since I haven’t updated anything since the last post, but now it’s working! It’s a mystery. ??
Forum: Themes and Templates
In reply to: [Tove] Shortcodes not enabled on archives/search/categories@anlino Thanks Anders. I’ve just asked the plugin developers, but I’m pretty sure their answer will be yes. This is the most downloaded and up to date slider plugin on the plugin marketplace as far as I can tell, so it seems like many others are using it with Twenty-Twenty Two. But I will get back to you to confirm. Does the help article I linked above imply that the slider only works with classic PHP themes?
@nextendweb_gabor Thanks Gabor. I got in touch with the theme developer and he had the following response. Can you confirm that Smart Slider is designed to work with Full Site Editing?
I’d ask the plugin developer if they’ve tested the plugin with Full Site Editing themes, like Twenty-Twenty Two and Tove. Tove isn’t a classic PHP theme but uses the Full Site Editing functionality added in WordPress 5.9, so it’s possible that the plugin developers haven’t updated the plugin to work with those features yet.
Thanks!
Forum: Plugins
In reply to: [Smart Slider 3] Increasing excerpt lengthThank you, I needed to delete the slide and start it over again, at which point it pulled the correct number of words from the excerpt (based on the code I inserted above). It just wont change dynamically.
Thanks again.
@nextendweb_gabor Thanks for your reply. In the event the theme developer can’t help, can you suggest a way for me to at least prevent the raw shortcode from showing in all archive pages (e.g. archive, category, search, etc.)? I’ll try to contact the theme developer, but I’m ultimately OK with the slider only appearing on the main page — I just don’t want the raw code showing up in the other contexts. Any suggestions for how to prevent that would be very appreciated. Thanks!
Forum: Themes and Templates
In reply to: [Tove] Styling the post comment button on hover@anlino Thank you! That worked perfectly. Appreciate the help, as always.
@arnaudbroes Sure — of course, as would happen as a child when you’d call to your mom to help you find a missing lego piece and it would appear as soon as she did, it seems to be working better now — most posts seem to be effectively scraping automatically now. Maybe it took a while for the socials to cache everything correctly. But there are still some posts where it’s not working right.
Here’s one:
https://www.palmsout.net/2011/boody-le1f-born-underwater/
image: https://www.palmsout.net/wp-content/uploads/2011/09/born-underwater-artwork-1.jpg@senff I managed to fix it again, and the zaxis works correctly now (I think the problem was due to a gutenberg update — the solution was to recreate the navigation element inside of gutenberg’s new navigation area block, instead of only alone as navigation block.)
But I have a related question — I have another element, a small header element, that has a fixed css position. When I use pixel heights to set its fixed position, it sits fine over the sticky block (I also gave this element a higher z index than the sticky block), but if I use percentages, it only considers its position in relation to the bottom of the sticky block, when it’s sticky. I would continue to use pixels, except this will have negative effects on mobile, so I’d like to use percentages — and vh and vw don’t seem to work consistency across platforms either. Is this to do with the fact that the sticky is using js instead of pure css to stay sticky?
@senff Unfortunately, that seems to have broken the entire block. Now either the block disappears all the content within it, or it no longer respects any css margins I gave it so that the content stays centered. :/
Forum: Themes and Templates
In reply to: [Tove] h1 and h2 tagsHi @anlino — Ok thank you. But I’m still wondering if there’s anything I can do to have the site logo wrapped in an H1 heading. The block editor doesn’t give me the option to do so. If not, no worries, I’ll find a workaround, but from what I’ve read, doing so is a useful solution when there is no obvious other choice to use as the page’s H1 tag.
Thanks again.
Forum: Themes and Templates
In reply to: [Tove] Image centering using class not workingHi @anlino —
I of course am using the block editor to design and edit the site itself, and to create templates, pages, etc. But for standard blog posts, I often use the classic editor, since it’s much faster for simple things.
You’re right, I misunderstood the context of that github thread, but the issue remains: when using standard image centering in the classic editor, Tove does not seem to respect the request to aligncenter — is there anything I can do to get Tove to do so, short of using the code above? Basically, most things function just fine in the classic editor, but for some reason images wont center unless I use the above code generated by the block editor.
Forum: Plugins
In reply to: [Sticky Block for Gutenberg Editor] Sticky Block Full page WidthUpdate: I solved the problem. I added this custom CSS class to the group block within the sticky, and it seems to have solved the problem.
.stickyblock2 { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; }
- This reply was modified 3 years ago by Haldan.