Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter DavideL

    (@davidel)

    Hello Jordy,

    little follow-up question.

    If I upload image-718.jpg (718px wide) and [email protected] (1436px wide), the plugin sets the srcset attribute so that the retina version is displayed on retina devices.

    But at this point all the thumbnails and all the retina thumbnails are created for both the versions, so that I end up having many duplicates:

    – full-size image-718.jpg (manually uploaded)
    – retina full-size [email protected] (manually uploaded)

    – small thumbnail image-718-100x100.jpg (generated by wp, 100px wide)
    – small retina thumbnail [email protected] (generated by plugin, 200px wide)

    – duplicate small thumbnail [email protected] (generated by wp, 100px wide)
    – duplicate small retina thumbnail image-718@[email protected] (generated by plugin, 200px wide)

    and so on for the other thumbnail sizes. The duplicate images (namely the thumbnails, retina and non-retina, generated from the full-size [email protected]) are not used anywhere, but they take up space.

    Does the pro version of the plugin solve this problem?

    • This reply was modified 3 years, 7 months ago by DavideL.
    • This reply was modified 3 years, 7 months ago by DavideL.
    Thread Starter DavideL

    (@davidel)

    Hey Jordy, thank you very much, great article. I opted for uploading two versions fo my full-size image with the @2x convention, so that full-size retina images are available.

    Best,

    Davide

    Thread Starter DavideL

    (@davidel)

    ^^ my fault. Thanks a lot, now it’s working well.

    Thread Starter DavideL

    (@davidel)

    Great, thanks =) Just one more thing. Which of the dozens of Tempera files is the one I should modify? I can’t find a specific html file nor I have a great familiarity with WP.

    Thread Starter DavideL

    (@davidel)

    Hi @reedyseth, I knew why the message “No articles found” is appearing, the problem was just with the subscription box =)

    Now, which options do you need to know? Here some screens:

    Options 1
    Management page
    Options 2

    Yes I’m the admin of the site, but sorry I don’t really know how to run a query /.\

    Thread Starter DavideL

    (@davidel)

    Hi @reedyseth, thanks for your answer. I followed the steps: I made a copy of page.php, added the code, saved as subscribe.php, uploaded with FTP. I set the Virtual Management Page to NO, then created a new page with the permalink https://ripetizioni-matematica-padova.it/comment-subscriptions/ matching the one I have in the corresponding option in the StCR plugin and with the created template…What’s next? I mean, I can see this page saying something like “If you wish to unsubscribe from an article check the corresponding box and click the button at the bottom of the list. You are now following:

    No articles found.”

    But still no subscription box under the comments area… any suggestion?

    Thread Starter DavideL

    (@davidel)

    Solved: in content-frontpage.php this

    /* Start the Loop */
    		$paged = ( get_query_var('paged') ) ? get_query_var('paged') : 1;
    		$the_query = new WP_Query( array('posts_per_page'=>$temperas['tempera_frontpostscount'],'paged'=> $paged) );
    				while ( $the_query->have_posts() ) : $the_query->the_post();

    becomes this

    /* Start the Loop */
     $paged = ( get_query_var('paged') ) ? get_query_var('paged') : 1;
    $the_query = new WP_Query( array('posts_per_page'=>$temperas['tempera_frontpostscount'],'paged'=> $paged, 'post__not_in' => array(ID)));
    	while ( $the_query->have_posts() ) : $the_query->the_post();
Viewing 7 replies - 1 through 7 (of 7 total)