adehner
Forum Replies Created
-
In my “Enable buttons for” setting, all users are selected.
What you’re saying is this plugin is not cross-browser compatible. It’s not practical to require users to use incognito mode or modify their browser’s security settings in order to use your plugin.
If I log out, then the link shows up as expected. However, if I log in, then the link does not display in firefox.
We’re using a membership and learning management system in our WordPress installation, so users will be logged in.
Thanks! Using Firefox’s incognito mode fixed the problem. However, we can’t ask all site visitors to use incognito mode in order to download a pdf of page content.
Thank you for your response, however it does not answer my question. Adding the shortcode to a page via the block editor works just fine.
I will be adding the shortcode to my child theme’s functions.php file. So adding it to a block is not an option in this case.
I’m testing the shortcode by adding it to Twenty TwentyFour’s footer.php template to confirm that my child theme is not interfering with the display: screenshot
The download link does display in Chrome: screenshot
It does not display in Firefox: screenshot
Forum: Plugins
In reply to: [Easy Dash for LearnDash] User number mismatchHi Luis,
Any updates on this? The reports aren’t useful when the numbers are incorrect.
Thanks!
Forum: Plugins
In reply to: Link to lightbox gallery from category archiveOkay, I figured it out…
In the loop:
$attachments = get_children(array('post_parent' => $post->ID, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID')); foreach($attachments as $att_id => $attachment) { $full_img_url = wp_get_attachment_url($attachment->ID); ?> <a href='<?php echo $full_img_url; ?>' rel='lightbox[<?php the_ID(); ?>]' class='hidden' title='<?php echo get_the_title(); echo "<br />".$attachment->post_excerpt; ?>'></a> <?php }And where the featured images display:
$image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'single-post-thumbnail' );?> <a class="post-thumbnail" href="<?php echo $image[0]; ?>" rel="lightbox[<?php the_ID(); ?>]" title="<?php echo get_the_title(); echo '<br />'.$caption;?>" aria-hidden="true"> <?php the_post_thumbnail( 'post-thumbnail', array( 'alt' => get_the_title() ) ); ?> </a>Forum: Fixing WordPress
In reply to: RSS widget dates are one day later than date in xmlWell, in case anyone has the same problem and finds this thread…
The out-of-the-box RSS widget is not converting UTC to my local timezone. Somehow the -7 offset is not registering. I’ve read several posts about UTC being hardcoded in wp-settings.php in spite of timezone settings in the dashboard’s general settings.
I needed to override this function in wp-settings.php to get the correct date in my RSS widget:
date_default_timezone_set(‘UTC’);I added the function below to my child theme’s functions.php and the date is displaying correctly. But I don’t know what negative repercussions will come from this change yet.
date_default_timezone_set(‘America/Los_Angeles’);Forum: Fixing WordPress
In reply to: RSS widget dates are one day later than date in xmlany ideas out there?