Forum Replies Created

Viewing 15 replies - 1 through 15 (of 63 total)
  • Thread Starter kidznc

    (@wsp-kk)

    I followed the procedure and got https://mydomain.com/seasons/hotzspot/ (the podcast is called hotzspot). I get it now; the slug is designed as a base for multiple podcasts or separate seasons – that explains why the RSS feed had this format for Visit Podcast Website >> as well.

    I’ll work with that, though we were trying to design the site without archive pages (rather, a single page with the podcast-player widget, allowing for a simpler https://mydomain.com/hotzspot/). We’re also getting the old Critical Error notice on this page – not sure why; perhaps it’s falling back on one of test theme files and breaking the code. I’ll figure it out.

    Thanks again!

    • This reply was modified 12 hours, 50 minutes ago by kidznc.
    • This reply was modified 12 hours, 48 minutes ago by kidznc.
    Thread Starter kidznc

    (@wsp-kk)

    Solved it. I added “row” to the widget.

    Here’s the new template file:

    <?php /* Variation of three-column loop - use only with Site Origin Post Loop Widget
    Apply "row" CSS to widget for proper functionality */ ?>

    <div class="col-12 col-lg-4 pb-2">
    <a href="<?php the_permalink(); ?>">
    <?php echo get_the_post_thumbnail( get_the_ID(), 'large', array( 'class' => '' ) ); ?>
    </a>
    <p></p>
    <a type="button" class="btn btn-lg" href=<?php the_permalink(); ?>><?php the_title(); ?><p></p>Download</a>
    </div>

    /done ??

    Thread Starter kidznc

    (@wsp-kk)

    Problem solved. It wasn’t the change in $args causing the problem (it shows up fine now); it’s the loop-within-a-loop that comprises the Bootstrap-based container being used as a template.

    I don’t have any problems running this as a secondary template file within a WP_Query, but the Post Loop widget doesn’t want to have anything to do with the While/End While statement that’s run inside the file to ensure that a Bootstrap row is created after every three images.

    <?php $counter = 1; ?>
    <?php while ( have_posts() ) : the_post(); ?>
    <?php
    if ( $counter % 2 == 1 ) {
    echo '<div class="row row-flex-box">';
    }
    ?>
    <div class="col-sm-4">
    <a href="<?php the_permalink(); ?>">
    <?php echo get_the_post_thumbnail( get_the_ID(), 'large', array( 'class' => '' ) ); ?>
    </a>
    <p></p>
    <a type="button" class="btn btn-lg" href=<?php the_permalink(); ?>>Download - <?php the_title(); ?></a>
    </div>
    <?php
    if ( $counter++ % 2 == 0 ) {
    echo '</div>';
    }
    ?>
    <?php endwhile; ?>

    Would you know of a way to get this to work within the Post Loop widget?

    I don’t think I can nest this in another template without that template called over for each item in the loop.

    Thanks!

    Thread Starter kidznc

    (@wsp-kk)

    Thank you, Andrew – this is what I needed to know. At least I know I’m working in the right direction. I haven’t had time to return to it, but I’ll check php_error_log and also WordPress’ own debug log.

    Will report back when I figure it out (and I might just inquire with the authors of Download Monitor if I can’t figure it out). Will be in touch.

    • This reply was modified 2 months, 3 weeks ago by kidznc.
    Thread Starter kidznc

    (@wsp-kk)

    Greatly appreciate it. Thank you.

    Thread Starter kidznc

    (@wsp-kk)

    No need. This is a bit embarrassing (seeing that I figured this out for a *different* site a year ago and since forgot), but the problem was that the child theme was not running the ../foogallery/album-myalbumname.php without there being a corresponding album-myalbumname.php file located in the parent style folder. I should have specified this.

    That said, I’m not sure if this is intended behavior, or an error with the particular theme I’m working with. I will be phasing it out for a stand-alone theme soon, so it is not that important in the long run.

    • This reply was modified 5 years, 2 months ago by kidznc.
    Thread Starter kidznc

    (@wsp-kk)

    I’m presently using that code to unset the sizes generated by other plugins (and the theme), but I’m also locking down the image sizes with the intermediate_image_sizes hook:

    
    //ONLY ALLOW THE FOLLOWING MEDIA SIZES
    add_filter( 'intermediate_image_sizes', 'image_restrict' );
    function image_restrict( $sizes ) {
    return array( 'folio', 'gallery', 'downloads', 'medium_large', 'blog400' );
    }
    

    This is more or less what you’ve recommended, but it still means I have to OK one more image size. MaxGalleria’s default Image Tiles gallery really should have a simple conditional fallback that allows it to use the next available image size if the ideal one isn’t available. It’s quite annoying to have to OK yet one more image size, or to find that somewhere in your 100+ galleries, there is one photo or gallery that slipped through without getting generated into the right size for whatever reason.

    Another thing I’ve noticed is that WordPress sometimes makes a mistake generating the images that are resized by multiples of 33.3% or 66.6%. I’ve found images resized to ...-250x167.jpg when Max is calling for ...-250x166.jpg

    It’s just extremely annoying, and enough that I’m willing to spend a few days with the interconnect/it serialized search and replace tool and transfer all the galleries over to Modula, which can display any combination of columns without ever requiring a custom image size.

    • This reply was modified 5 years, 6 months ago by kidznc.
    • This reply was modified 5 years, 6 months ago by kidznc.
    • This reply was modified 5 years, 6 months ago by kidznc.
    • This reply was modified 5 years, 6 months ago by kidznc.

    FYI, I tried running @webteamffcu’s recommendation of Added Advanced noCaptcha & invisible Captcha (with CF7 v5.1.1), but received the following error in the inspector:

    recaptcha__en.js:507 Uncaught Error: reCAPTCHA placeholder element must be an element or id

    I removed Added Advanced noCaptcha & invisible Captcha and backdated to CF7 v5.0.5 with reCAPTCHA v2 integration built in. Everything is working fine once again.

    Additionally, there was a huge error with WP SMTP Mail when these two plugins were active. No idea how it was affected though, as it cleared up on v5.0.5.

    Thread Starter kidznc

    (@wsp-kk)

    I’m sorry, but I do not follow. If I edit the a page (or pages) on our local server and push the SQL file update to our live site, I am neither clearing the stats OR keeping the total download count of any of the download assets on the live site. I’d just be restoring (more accurately, overriding) whatever random download counts are on the local SQL file.

    This seems entirely counterproductive. I want to keep that “total download count” per asset downloaded, even if the site is updated. How do I do that?

    • This reply was modified 6 years, 1 month ago by kidznc.
    Thread Starter kidznc

    (@wsp-kk)

    Dear Gabor:

    No worries – at least that clears it up! Thank you.

    -Kurt

    Thread Starter kidznc

    (@wsp-kk)

    Dear Ramona:

    I’m aware they’re mostly debugging tools, but I do want to make sure that the .JS isn’t being loaded twice. The site has enough issues with too many separate JS and CSS files as it is – slows the load time considerably.

    This said, the sliders are not popups, but the video slider on the main page with the four Walk to School Day videos, and the photo slideshow under the Poster Contest tab.

    However, there is one popup and a slider associated with that page; they may be re-writing the code twice. I’ll delete some elements from the page on my local copy and report back.

    Thread Starter kidznc

    (@wsp-kk)

    Ok! That makes sense now. This page was designed with 3.3, so the fix for the fix happened to conflict with the code on our site.

    That explains it all – thank you!

    -KK

    Thread Starter kidznc

    (@wsp-kk)

    Dear Ramona:

    No worries. It’s working now because I toggled “Slider’s inline JavaScript,” as I initially explained.

    My post was primarily to explain what had happened, just in case a default setting had been changed in SS3, as I never experienced this issue prior to the SS3 update.

    Incidentally, what you describe is correct – the ?fwp_paged=2 is written by FacetWP, which generates the blog/article/event entries and the pagination.

    -Kurt

    Thread Starter kidznc

    (@wsp-kk)

    The slider’s AJAX support is not the problem; it’s the slider’s JS blocking the AJAX-loaded functions on the site.

    I tried setting the JS back into the header and turned on the AJAX support as you described, and the pagination promptly disappeared again. The AJAX support setting has no affect on it; only the JS location.

    Thread Starter kidznc

    (@wsp-kk)

    Great, thanks.

    -KK

Viewing 15 replies - 1 through 15 (of 63 total)