joebenett
Forum Replies Created
-
Thank you for responding me,
For the 1st point, I can’t share the link (because the website is on a local server) but here are the screenshots on mobile display.
1. Portrait (the html code displayed on webpage)
https://www.dropbox.com/s/n9a4u8lui9kanda/Screenshot_2022-11-08-10-57-21-32_e4424258c8b8649f6e67d283a50a2cbc.jpg?dl=02. Landscape (working good)
https://www.dropbox.com/s/3i7oanmnqkn0ykq/Screenshot_2022-11-08-10-58-13-74_e4424258c8b8649f6e67d283a50a2cbc.jpg?dl=0For 2nd point, I made the tabs closed on page load and it’s work fine.
Thank you for help
Hi,
I think your reply was accidentally deleted form “spamboxes”.
Thank you very much for your quick help.Regards
Hi,
I opened a support ticket on your Website on Monday.
Did you seen it ?Many thanks
Forum: Plugins
In reply to: [Site Reviews] Ratings not showed on schemaWell, I understand…
I used the “quick widget button” that not activate the schema option by default.
Now all work fine by adding the shortcode over a “personal HTML”.
May you can add a button to activate directly from the snippet ? (like hide stars, summary…).
Thank for your help, have a nice day !
Forum: Plugins
In reply to: [Site Reviews] Ratings not showed on schemaAnd if the shortcodes are on the website header and displayed on any page ?
Other “schemas” informations from YOAST working well, maybe a Yoast incompatibility ?
Thank you for help
Forum: Developing with WordPress
In reply to: Shortcode displayed BEFORE contentHi all,
during code optimization, I found and answering to myself.
I just change the
$sp_id = the_ID();
by
$sp_id = get_the_ID();
and voila !
Thank you for help ??
Forum: Developing with WordPress
In reply to: Shortcode displayed BEFORE content1. Sorry for the “bump” that will the first and last time (my second help topic)
2. I have only this code on my function file, when I comment or delete it, the IDs aren’t displayed.
3. The query reset is now inside my function (the bug is persistant)
Thank you for help
Forum: Developing with WordPress
In reply to: Shortcode displayed BEFORE contentVery good to know, thank you.
Now I have another “bug”, the posts IDs are displayed on top of the block…
https://app.box.com/s/ge7tmhhi514dgsva4mpj9vp01ogy4jwxHere is the code
function HP_show_sticky_post() { $StickyPST = ""; //créé une nouvelle recherche dans la BDD $sticky_post = new WP_Query(); //recherche si le post est épinglé $sticky = get_option('sticky_posts'); //$query = new WP_Query( array( 'post__not_in' => get_option( 'sticky_posts' ) ) ); //arguments $args = array( 'post__in'=> $sticky, 'post_type'=>'post', 'showposts'=>'1', 'ignore_sticky_posts' => 1, ); //lancement de la recherche avec les arguments $sticky_post->query($args); if ($sticky_post->have_posts()) : while ($sticky_post->have_posts()) : $sticky_post->the_post(); $sp_id = the_ID(); $sp_permalink = get_permalink($sticky_post->post->ID); $sp_title = get_the_title($sticky_post->post->ID); $sp_exerpt = get_the_excerpt(); if(has_post_thumbnail($sticky_post->post->ID)) { $sp_thumbnail = get_the_post_thumbnail($sticky_post->post->ID,''); } $StickyPST .=' <div class="hp_sticky_post"> <a href="'.$sp_permalink.'"> <h2>'.$sp_title.'</h2> </a> <div class="sp_content"> <a href="'.$sp_permalink.'"> <div class="sp_thumb">'.$sp_thumbnail.' </div> </a> <div class="sp_excerpt">'.$sp_exerpt.'</div> </div>'; endwhile; endif; return $StickyPST; } add_shortcode("show_sticky_post", "HP_show_sticky_post"); wp_reset_postdata();
[Moderator note: Please, No bumping.
- This reply was modified 4 years, 11 months ago by Steven Stern (sterndata).
Forum: Developing with WordPress
In reply to: Shortcode displayed BEFORE contentHere is the function, thank you.
(this is the first shortcode I do, I think it can be optimized)function HP_show_sticky_post() { //créé une nouvelle recherche dans la BDD $sticky_post = new WP_Query(); //recherche si le post est épinglé $sticky = get_option('sticky_posts'); //arguments $args = array( 'post__in'=> $sticky, 'post_type'=>'post', 'showposts'=>'1', 'ignore_sticky_posts' => 1, ); //lancement de la recherche avec les arguments $sticky_post->query($args); if ($sticky_post->have_posts()) : while ($sticky_post->have_posts()) : $sticky_post->the_post();?> <div class="hp_sticky_post"> <a>post->ID); ?>" id="post-<?php the_ID();?>"> <h2><?php echo get_the_title($sticky_post->post->ID); ?></h2> </a> <div class="sp_content"> <a>post->ID); ?>" id="post-<?php the_ID();?>"> <div class="sp_thumb"> <?php if(has_post_thumbnail($sticky_post->post->ID)) { echo get_the_post_thumbnail($sticky_post->post->ID,''); } ?> </div> </a> <div class="sp_excerpt"><?php echo get_the_excerpt(); ?></div> </div> </div> <?php endwhile; endif; }
- This reply was modified 4 years, 11 months ago by Steven Stern (sterndata).
Hi All !!
I come back after several tries (and several days). Apparently it’s an incompatibility with the SiteOrigin Page Builder plugin.
Thank you for your help, and if developers can fix this issue (that worked very well before) it would be cool.
Thanks
- This reply was modified 5 years, 2 months ago by joebenett.
Hi,
I’m back.
After all updates the issue isn’t solved…Any other idea ?
Thanks
I’ll foresee an update to see if update fix the bug.
ThxHi Freddie,
This issue occuring on all products.
I tried to create another tab, the problem is persistant…
The displayed text is the “description” one, not the tab content.May I’ll try to update core and plugins to see if it resolve ?
Ps : I can’t share a link, the website is offline.
Thank you