Forum Replies Created
-
AuthorPosts
-
Daniel
ParticipantSure thing, Tom. Please keep me posted. Ideally, there’s a solution that does not break existing WP Show Post shortcodes being used.
And also, just for clarification (since the ampersand code is converted to the symbol in this comment window), here are images.
What appears upon attempting to re-edit the page:
Thanks also for your continued work on GP and this plugin,
DanDaniel
ParticipantYes, all the behavior I describe happens in the editor, in the Gutenberg shortcode block.
Daniel
ParticipantI’m replying to this thread because I’m having a similar issue. When I enter the following WPSP shortcode into a Gutenberg shortcode block, it works. The problem: the next time I edit the page with that shortcode, Worpdress/Gutenberg converts/escapes the ampersands from “&” to “&”
[wp_show_posts id=”33309″ settings=”meta_key=priority&orderby=meta_value&order=ASC”]
I can circumvent the issue by entering the shortcode directly into editor as a text block. I’d prefer not to do this, since managing a page is easier/cleaner when its shortcodes are in shortcode blocks.
Note: I’m not using GP “sections” — only GP and WP Show Posts.
Any thoughts?
November 13, 2019 at 7:20 am in reply to: Cards, and recovering from the Set Card Styles button #11884Daniel
ParticipantThanks for the follow-up, Tom. It was more complex than expected, but I got it sorted.
November 10, 2019 at 4:46 am in reply to: Cards, and recovering from the Set Card Styles button #11861Daniel
ParticipantThanks, Tom. Just copying your CSS code didn’t work. I ended up working with someone for the CSS I needed.
I have everything working — except that I wanted to achieve a slide-in from the bottom overlay (like in the example or something like this: https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_image_overlay_slidebottom).
Any ideas how to achieve that?
October 31, 2019 at 9:03 am in reply to: WP Show Post shortcode causing possible issues in Gutenberg editor #11749Daniel
ParticipantHi Tom,
The issue wasn’t the shortcode. Sorry for the confusion in my description.The conflict seems to be with a plugin (one created by our host, used to support related post queries) based on Elastic Search.
Thanks for the follow up,
DanOctober 31, 2019 at 7:55 am in reply to: Cards, and recovering from the Set Card Styles button #11747Daniel
ParticipantThanks, Tom. Am getting the hang of this. I now have this result.
I have a style question now. I’d like to achieve:
Display: Title and Location (a custom field).
On hover, display: Title, Terms, and Content/Excerpt
Note: The Title is unlinked, via a wpsp_disable_image_link filter snippet.The style (layout and effect) I want is like the “case study explorer” section of this page.
Is this possible? How?
Thanks again,
DanOctober 12, 2019 at 9:48 am in reply to: Cards, and recovering from the Set Card Styles button #11450Daniel
ParticipantI discovered some other behavior which seems to have surfaced after pressing the “Set Card Styles” button. It could be coincidence, but based on how much I’ve been using WP Show Posts previously, I doubt it. First the behavior, then the steps to recreate.
Behavior:
Now (using the Gutenberg editor), any pages which include WP Show Posts shortcodes display correctly on the front-end. However, if I attempt to edit that page in admin, the page editor frame displays an editor for the first post in the list which would have been displayed by the shortcode. Yes, bizarre. I can no longer edit the page or its content at all. Note: this happens when I create WP Show Post lists with posts, custom post types, etc. When I use other post grid plugins (e.g., Ultimate Add-ons for Gutenberg) to achieve a similar effect, I do not get this type of behavior.I have attempted to deactivate WP Show Post and Pro plugins, even deleting data. However, lists are preserved and I suppose other table entries are too. I have even resorted to deleting all Lists and also any pages where WPSP shortcodes may have been used. No luck.
How I recreate it:
1) Create a List. (from Posts, Custom Posts, doesn’t matter).
2) Create a new page…in the Gutenberg editor. Enter a title, some text, then the WP Show Post shortcode referencing the List created in 1.
3) Save draft, preview the page. It looks more or less as expected on the front-end.
4) Now, attempt to edit the page (be sure to re-access it via “All Pages” in the Page editor). Page content is now missing. In fact, inside the editor frame is the first post in the List referenced in the shortcode.Happy to give you access to my development site to see for yourself.
Thanks,
Dan -
AuthorPosts