1. PROMO Upgrade to Pro Membership @ $99 / Lifetime & access all our 16+ premium Divi extensions: Divi Block, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Solved Related Posts Footer Meta Adjustments

Discussion in 'Basic Support Forum' started by JakeK, May 1, 2023.

  1. JakeK

    JakeK Member
    Divi Ultimate Child Theme Divi Powerful Child Theme Divi Ultimate Blog Plugin Divi Ultimate Header Plugin Divi Ultimate Footer Plugin

    Hello! Is it possible to update what meta shows up on the attached? Right now it's JUST title and date. But my client is wondering if we can change it to Title and Author. Is this possible?
     

    Attached Files:

    1. PRO MEMBER PERKS Divi Block Pro - Premade card carousel design for your Divi site without using any plugins:View Demo
  2. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    That would require the plugin file edit:
    1. Go to WP Admin > Plugins > Plugin File Edit > Select Plugin to Edit > Divi Ultimate Plugin / Divi Ultimate Blog Plugin (not sure which one you're using)
    2. Navigate to blog > du-blog-1.php
    3. Look for line 239: <?php echo esc_html( get_the_time( wp_unslash( et_get_option( 'divi_date_format', 'M j, Y' ) ) ) ); ?>
    4. Replace it with <?php echo the_author_meta( 'user_nicename' , $post->post_author); ?>
     
  3. JakeK

    JakeK Member
    Divi Ultimate Child Theme Divi Powerful Child Theme Divi Ultimate Blog Plugin Divi Ultimate Header Plugin Divi Ultimate Footer Plugin

    Amazing! Thank you!
    If I place this code there, will it be removed when the plugin updates? Do you have a suggestion to place this code in my Divi site (or child theme) so that it remains there?
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade dynamic background hover design for your Divi site without using any plugins:View Demo
  4. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    Unfortunately, that can only be done through the plugin file edit.

    You may edit the plugin version to be like * Version: 999.0.0
    **And it will prevent the plugin from getting updates, so that your changes won't be overwritten.
     
  5. JakeK

    JakeK Member
    Divi Ultimate Child Theme Divi Powerful Child Theme Divi Ultimate Blog Plugin Divi Ultimate Header Plugin Divi Ultimate Footer Plugin

    Hmm... I see. So you see of NO option for me to make these changes (and have them stick) while also allowing for the plugin to update?
     
    1. PRO MEMBER PERKS Divi Login Customizer Plugin - Instantly beautify your Wordpress login page with 6 premade designs:Learn More
  6. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    That’s right. If you still need any further help, let me know.
     
  7. JakeK

    JakeK Member
    Divi Ultimate Child Theme Divi Powerful Child Theme Divi Ultimate Blog Plugin Divi Ultimate Header Plugin Divi Ultimate Footer Plugin

    Okay thank you!

    I tried this, but it is putting the site admin (or logged-in user) as the author of all posts (and just making it all lowercase)
    See here:
    Screenshot 2023-05-04 at 10.30.41 AM.png Screenshot 2023-05-04 at 10.30.51 AM.png Screenshot 2023-05-04 at 10.30.41 AM.png
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade card carousel design for your Divi site without using any plugins:View Demo
  8. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    Try this instead & see if it works:

    <span style="text-transform: uppercase;"><?php echo the_author_meta( 'display_name' , $post->post_author); ?></span>


    I also added code to make it uppercase.
     
  9. JakeK

    JakeK Member
    Divi Ultimate Child Theme Divi Powerful Child Theme Divi Ultimate Blog Plugin Divi Ultimate Header Plugin Divi Ultimate Footer Plugin

    Thanks again for all the help It is SO much appreciated. You guys rock.
    Still running into the problem where it just shows all the posts as written by the site owner. Any further ideas as to why this may be?
    Screenshot 2023-05-05 at 11.11.59 AM.png Screenshot 2023-05-05 at 11.11.25 AM.png
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade horizontal timeline design for your Divi site without using any plugins:View Demo
  10. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    That's weird. Tested on my site & seems to work fine.

    What about this:

    <span style="text-transform: uppercase;"><?php echo get_the_author(); ?></span>

    If still not working, kindly check your PM.
     
  11. JakeK

    JakeK Member
    Divi Ultimate Child Theme Divi Powerful Child Theme Divi Ultimate Blog Plugin Divi Ultimate Header Plugin Divi Ultimate Footer Plugin

    This worked!! Many thanks! :)
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade rolling text design for your Divi site without using any plugins:View Demo