• Resolved monte56

    (@monte56)


    I am trying to use PHP 8.2 and WordPress 6.3.1 The posts seem to display only excerpts rather than the full posts with pics. The full picture post display are way down the list towards the very first posts.

    I tried toggling the full/excerpt option but does not work.

    I have two questions: 1) does this support the current WordPress version and PHP 8.2, 2) Is this problem fixable? I cannot give you a link since it is a live site.

    Thanks!

Viewing 13 replies - 1 through 13 (of 13 total)
  • Theme Author nobita

    (@nobita)

    The last version of the Raindrops theme (1.600) was released 10 months ago.

    supports WordPress 6.1, PHP8

    I’m tested With WordPress 6.3.1 + PHP8,
    The image was displayed normally, and the single post content was not displayed as excerpt.

    PHP 8.2 I don’t have a test environment ready at hand, so I don’t know.

    Thank you

    Thread Starter monte56

    (@monte56)

    I have set the site to PHP 8.0 with WP version 6.3.1

    It still only show Excerpt. I did choose “show content”. The web site is: https://thewritestuff.justwritedesigns.com I will try to leave it up for 30+ hours.

    Thanks!

    Theme Author nobita

    (@nobita)

    It still only show Excerpt. I did choose “show content”.?I did choose “show content”.?

    In a post titled ‘Halloween Greetings’,
    The excerpt is ‘A stenciled & die cut mini slimline Halloween card. Easy to make & change up the colors or use a colored designer paper for the background. So many ways to customize the look.’

    This excerpt string is different from the string displayed when you open the post page.

    This is just a guess, but…
    Did you write a special summary sentence in the exccerpt when editing the post?
    In the Raindrops theme, if a summary text is set in excerpt, that summary text will be displayed with priority even if full text display is set.

    Could you check it out?

    Thank you.

    Thread Starter monte56

    (@monte56)

    yes there is text and really is needed for a post notification that goes out to subscribers.
    we took out the excerpt and the full post showed. It also created an unusually image that we tried to change image size with the built in WordPress tools. It is the “Julie” image signature at the end of each post. We can’t find a way to make it smaller.
    thank you.

    Theme Author nobita

    (@nobita)

    the “Julie” image signature at the end of each post. We can’t find a way to make it smaller.

    I will explain the easiest way

    It looks like you’re using the classic editor, so here’s how to do it using the classic editor.

    Change the post editor to text mode.

    Below is the source for the relevant part.

    <a >
    <img decoding="async" loading="lazy" class="alignleft wp-image-12715" src="https://thewritestuff.justwritedesigns.com/wp-content/uploads/2013/05/Julie2-sig.png" alt="" width="48" height="18" data-pagespeed-url-hash="2211596643" onload="pagespeed.CriticalImages.checkImageForCriticality(this);">
    </a>

    Add size1of5 class to img element

    <a >
    <img decoding="async" loading="lazy" class="alignleft size1of5 wp-image-12715" src="https://thewritestuff.justwritedesigns.com/wp-content/uploads/2013/05/Julie2-sig.png" alt="" width="48" height="18" data-pagespeed-url-hash="2211596643" onload="pagespeed.CriticalImages.checkImageForCriticality(this);">
    </a>

    There are the following types of classes for size adjustment.

    size1of1
    size1of2
    size1of3
    size2of3
    size1of4
    size3of4
    size1of5
    size2of5
    size3of5
    size4of5

    Thank you

    • This reply was modified 1 year, 2 months ago by nobita.
    Thread Starter monte56

    (@monte56)

    I will try this and let you know. Is there a resolution to the excerpt? Really need this to work with both excerpt and picture.

    Thanks

    Theme Author nobita

    (@nobita)

    really need this to work with both excerpt and picture.

    Excerpt textarea can contain HTML. Here is a simple example.

    <p>A stenciled & die cut mini slimline Halloween card. Easy to make & change up the colors or use a colored designer paper for the background. So many ways to customize the look</p>
    <img src="https://picsum.photos/seed/picsum/300/200" />
    

    Thank you.

    Thread Starter monte56

    (@monte56)

    Thanks for all your help. We have removed the excerpt and the pics show. We also did not use the html in excerpt as we found a “work around”.

    What we did discover is the theme seems to reset itself back to defaults periodically. Can’t seem to find what triggers it. The following is the list of theme customization we set.

    • COLOR Scheme: Selected “Dark”. it defaults back to Minimal.
    • SITE TITLE: We move the size slider to bigger & change it to “Center” justified. It defaults back to small & left justified.
    • CUSTOM COLOR SCHEME: We change “Links” to green (& leave everything else as is). It defaults back to white.
    • POSTS-AUTHOR: We select “Show”. It defaults back to Avatar.
    • POSTS-LABELS: We select “Show”. It defaults back to Emoji.
    • RELATED POSTS: We set the relation with to “Category”. It defaults back to Automatic.

    Thank you.

    Theme Author nobita

    (@nobita)

    I don’t think a theme changes configuration values on a regular basis.

    This happens when Customizing / Advanced / Reset Theme Settings is set to Yes.

    Thank you.

    Thread Starter monte56

    (@monte56)

    it has never been set to “yes”. It always happens over night. Any ideas?

    Theme Author nobita

    (@nobita)

    Stop the customizer reset function

    <?php
    function raindrops_reset_theme_options(){
    	return;
    }
    /**
     *
     *
     * @package Raindrops
     * @since Raindrops 0.1
     */

    Or

    customizer preview top menu ‘Data Stored : option’

    change to ‘Data Stored : theme mod’

    <?php
    $raindrops_setting_type	= apply_filters('raindrops_theme_data_store', 'theme_mod' );// ADD ONLY THIS LINE
    
    /**
     *
     *
     * @package Raindrops
     * @since Raindrops 0.1
     */

    You can add PHP code to the top of functions.php.
    If you know how to use PHP, give it a try.
    There is no guarantee that this will solve the problem.

    Thank you.

    Thread Starter monte56

    (@monte56)

    Thank you for the suggestions. I tried the first suggestion; that did not work. I did put this snippet of code in and it has been working for the last few days.

    
    <?php $raindrops_setting_type = apply_filters('raindrops_theme_data_store', 'theme_mod' );// ADD ONLY THIS LINE
    
    

    Hope this helps others and your testing. I am also running WordPress 6.3.1 and PHP 8.2

    Theme Author nobita

    (@nobita)

    Thank you for letting me know the results.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Unable to see Pics in Posts’ is closed to new replies.