Home › Forums › Pro Support › how to fix wpshowpost tag element flashing
- This topic has 7 replies, 4 voices, and was last updated 2 years ago by
elvin.
-
AuthorPosts
-
November 9, 2020 at 3:03 am #22366
Carlo
ParticipantHi there,
please see https://beautycoach.academy
1) I have noticed that the following issue happens with chrome (both pc and mobile) but it doesn’t with firefox:
When the page is loading, there is a tag flashing on the website logo (with mobile) or the left of the logo (with pc). It’s just a flash, then the tag disappear since it correctly “moves” over the card of the carousel below the fold.I have tried deactivating wprocket and the issue seems to persist.
Maybe is an issue in my custom css,
how can I fix it?2) In the same page, same list of wpshowpost, I have noticed that from time to time the & that is in the filter string in the shortcode got converted to
&
(& amp ; without the blank spaces) (and then the filter does not work anymore) it is odd, since the shortocode is in a shortcode gutenberg block. Have you had experienced something similar before? The string is the following:
[wp_show_posts id="5289" settings="meta_key=online&meta_value=ONLINE"]
Thank you. Best wishes.
November 9, 2020 at 2:54 pm #22406Tom
KeymasterHi there,
You could try doing something like this:
.we-wpsp-corsi .wp-show-posts-entry-header { position: relative; }
The shortcode thing is a known issue at the moment. You could try building your own shortcode:
add_shortcode( 'my_shortcode', function() { ob_start(); echo do_shortcode( '[wp_show_posts id="5289" settings="meta_key=online&meta_value=ONLINE"]' ); return ob_get_clean(); } );
Then you can use
[my_shortcode]
in the block.November 10, 2020 at 2:36 am #22449Carlo
ParticipantHi Tom,
about the point 1)
Now the flashing is fixed but the tag is not in the desiderd position anymore (it’s now vertically floating in the middle).
How can I have it in the same previous position (on top, align to the top border)?Note: I had to go back to the previous “wrong” css in order to keep the tag in the right position while waiting for your kind reply 🙂
Point 2)
Done, thanks
Is there a way to be kept updated about when it will be fixed?November 10, 2020 at 3:25 pm #22472Tom
KeymasterI’m not seeing it in the vertical middle, but it is horizontally to the right a little. This is because your CSS is using
left: 8.5%
. If you change that to0
it should stay in the top left corner.We’ll be turning this plugin into a block so the shortcode will no longer be necessary.
November 10, 2020 at 5:25 pm #22488Carlo
ParticipantI am sorry Tom, I am not sure I understand right: Do you mean you see it on the top now?
It’s because I had to set the “old” “wrong” css as I said in the note above since I can’t keep the tag in that position for long in the homepage.Is there any way you could please check with the inspector? If not, I’ll do a new list in a page apart.
Thanks.
November 11, 2020 at 3:35 pm #22516Tom
KeymasterThis is what I’m seeing right now: https://www.screencast.com/t/jwWk1gCmqKK
November 24, 2021 at 1:58 pm #35751heinrich
Participanthi tom, regarding: “We’ll be turning this plugin into a block so the shortcode will no longer be necessary.”
is there an idea when this will come to the table? and i`m really curious if this blocks will support dynamic content with acf (not only text)?
tks in advance for any hint.
November 24, 2021 at 4:52 pm #35756elvin
ModeratorHi Heinrich,
WP Show Posts is planned to be merged GenerateBlocks but Tom has yet to release an ETA for it yet.
An announcement will be posted once everything is settled for its development plan. 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.