Close Menu
  • Home
  • Learn
  • Web Hosting
  • Website Optimization
  • Elementor
  • Tech Jobs
  • Consultations NEW
  • More
    • About
    • Contact
    • Artificial Intelligence
    • CDN
    • Deals & Discounts
    • eCommerce
    • Movies & TV Shows
    • MyListing
    • Small Business
    • Themes & Templates
    • Tools
      • Internet Speedtest
      • VPN
    • Voxel
    • VPN
    • Web Hosting Services
    • Web Security
    • WooCommerce
    • WordPress
Tags
Analytics Archive auctions wordpress theme Backups Business business directory ChatGPT city guide classified Code Editors cPanel Crocoblock Deals directory Discord Discounts dokan ecommerce education wordpress theme Featured FTP Generative AI Google Cloud Google DeepMind grocery multivendor learning management system LiteSpeed Cache lms marketplace Matomo multi-vendor Opera PHP Plugin Update responisve shopify theme Sale SEO shop SSH Trending Updates Web Hosting woocommerce wordpress World Backup Day
Facebook X (Twitter) YouTube
Binary Blackboard
  • Home
  • Learn
  • Web Hosting
    LiteSpeed Cache vs WP Rocket

    LiteSpeed Cache vs WP Rocket

    August 3, 2023
    Storage racks aligned in a computer server room.

    Shared Web Hosting: Is It the Right Choice for Your Website?

    June 10, 2023
    Memorial day seal with the word deal next to it

    Memorial Day Weekend Deals

    May 25, 2023
    Woman holding a laptop as she works on web hosting servers

    Crucial Things to Know When Choosing Web Hosting Services

    March 27, 2023
    This is the A2 Hosting logo. It says “A2 Hosting Our Speed Your Success.”

    Switching to cPanel’s Jupiter Theme

    March 27, 2023
  • Website Optimization
    Logo for Elementor

    Automatically Clear Elementor Cache and Regenerate CSS

    July 25, 2023
    Screenshot of a macOS shortcut

    Website Speedtest macOS Shortcuts

    June 24, 2023
    New method accelerates data retrieval in huge databases

    New method accelerates data retrieval in huge databases

    March 15, 2023
    LiteSpeed Cache plugin settings dashboard

    LiteSpeed Cache Settings for Voxel

    March 9, 2023
    Logo for Redis Cache

    Are You Using Redis Cache on Your Website?

    March 8, 2023
  • Elementor
    Logo for Elementor

    Automatically Clear Elementor Cache and Regenerate CSS

    July 25, 2023
    Elementor helpful tips

    Unlock the Full Potential of Elementor with These 10 Advanced Tips

    May 20, 2023
    Logo for Elementor

    Master the Art of Web Design with Elementor Pro

    May 20, 2023
    Elementor CSS Print Method Settings

    What Is CSS Print Method in the Elementor Settings? Which Should I Choose?

    May 18, 2023
    Widgets for the Elementor page builder

    Remove Unused Elementor Widgets

    January 15, 2023
  • Tech Jobs
  • Consultations NEW
  • More
    • About
    • Contact
    • Artificial Intelligence
    • CDN
    • Deals & Discounts
    • eCommerce
    • Movies & TV Shows
    • MyListing
    • Small Business
    • Themes & Templates
    • Tools
      • Internet Speedtest
      • VPN
    • Voxel
    • VPN
    • Web Hosting Services
    • Web Security
    • WooCommerce
    • WordPress
Binary Blackboard
Home»Voxel»**Updated Mar 13, 2023** Toggle Expand Read More Paragraph
Voxel

**Updated Mar 13, 2023** Toggle Expand Read More Paragraph

March 13, 20234 Mins Read6415
Facebook Twitter Pinterest LinkedIn Email WhatsApp Reddit
Website layout
Share. Facebook Twitter Pinterest LinkedIn Email WhatsApp Reddit

Related Posts

Screenshot of Dynamic Business Hours Highlighting Based on Current Day - In Voxel

Dynamic Business Hours Highlighting Based on Current Day – In Voxel

Wordpress 6.3 Lionel

WordPress Update 6.3 “Lionel” is out

Programming code of PHP for WordPress

Which PHP Version Should You Use for WordPress in 2023?

15 Comments

  1. Duncan Hesketh on January 29, 2023 2:55 pm

    Hi Richard,

    I love this and have tried to add this widget and the code etc as above but for some reason it doesn’t show or work?

    Any ideas as to why this might be? I have some profile listings that are very long and this would be awesome to include

    Log in to Reply
    • Richard on January 30, 2023 4:42 am

      Hi Duncan,
      Could you please set the WP_DEBUG to true and check the page on the front end where you added the shortcode? Let me know if you see any errors.

      Log in to Reply
      • Duncan on January 30, 2023 10:07 am

        Hi Richard, thanks and clearly having a blonde moment. I think i added this correctly to wp-config and changed to “true” but still do not see any change to front end template that this was added to?

        Log in to Reply
        • Richard on January 30, 2023 7:29 pm

          So you don’t even see the shortcode in plain text, either? If you want, I can help you if you email me temporary access. I’m also working on a simpler version of this if you prefer.

          Log in to Reply
          • Duncan on January 31, 2023 12:04 pm

            I now see the plain text code on the front end – also have sent you a mail via your contact page :). Thanks Richard.

        • Richard on January 31, 2023 4:17 pm

          I finally got it to work. But I did see a few reasons it wasn’t working.

          1. I didn’t see where you added the function for the Read More, Read Less that I created, so I added it to your Child’s function.php.

          2. The caching plugin or Autoptimize was preventing the shortcode from rendering.

          3. The third reason is something I have to adjust on this post because I realize that besides the fact that Vuejs uses a virtual dom, if there is an optimization plugin such as the one you have, then the javascript I created would show as null because the virtual dom has not finished. So I added a function to the code for it to run after the window has loaded.

          Log in to Reply
          • duncan on January 31, 2023 5:33 pm

            Thanks Richard and looks great. Sorry for your troubles and hope the coffee helps.

            How did you get around the caching/plugin issue – i have other sites i am working on and would like to copy what you have done here without the same issues.I assume i can now copy what you have done here on to the other post types within this site as you have fixed the code to work as mentioned?

            Also I did copy your code above but i see the one you used in the PHP had an initial line that is not present above.

        • Richard on January 31, 2023 5:48 pm

          Please check your email. And thanks for the coffee!

          Log in to Reply
          • Duncan on January 31, 2023 6:33 pm

            I received your mails but when i reply it bounces back as undelivered and failed.

            host mail.binaryblackboard.com [190.92.157.124]
            SMTP error from remote mail server after end of data:
            550 “The mail server detected your message as spam and has prevented delivery.”

  2. Break on March 25, 2023 6:29 am

    Hi Richard,
    What did you mean when you wrote:

    Step Three:
    Install and activate the plugin.

    What plugin are you writing about?
    I followed all the steps but read more does not work – see the video.
    Video – https://www.loom.com/share/571aae2d05d14a91a2275188b4f93158
    Thanks

    Log in to Reply
    • Richard on March 25, 2023 7:23 am

      Hi, I should probably remove that since most just add the code to the fuctions.php file. I had created a plugin that added the feature, but I know most people don’t like to add more plugins. You can just add the code to your functions.php file in the child theme. I’m going to remove step three. Thanks!

      Log in to Reply
      • Break on March 25, 2023 1:09 pm

        Hi, I added the code to the function.php child theme file.
        For shortcode I left only [paragraph-expander].
        I still got the same results – only the button at the very top above the content is visible, while the text is fully expanded. Thanks 🙂

        Log in to Reply
        • Richard on March 25, 2023 2:41 pm

          Hi, I think the issue may be that the Voxel text editor widget automatically adds paragraph tags which then breaks my code. Please try removing the “p” on lines 25, 34, 66, and 67

          Please let me know if this helps. You can contact me through the contact page and send me a screenshot of the page source to see if the paragraph tags are added or not. Cheers!

          Log in to Reply
  3. Sveta on May 1, 2023 10:20 am

    Hello,
    does this code still valid for the current Voxel version? I tried to use it but seems it not working for me.
    Will appreciate any help:)

    Log in to Reply
    • Richard on May 1, 2023 11:18 am

      Hi, I haven’t tested with the very latest version. Are you getting any errors? Did you have this working before? Or is this the first time you are adding this feature?

      Log in to Reply
Leave A Reply Cancel Reply

You must be logged in to post a comment.

Affiliate Envato Wordpress theme banner adEnvato Wordpress theme banner ad
Menu
  • About
  • Contact
  • Developer Tools
  • Deals & Discounts
  • Sitemap
  • Privacy Policy
  • Terms of Service
Tags
Analytics Archive auctions wordpress theme Backups Business business directory ChatGPT city guide classified Code Editors cPanel Crocoblock Deals directory Discord Discounts dokan ecommerce education wordpress theme Featured FTP Generative AI Google Cloud Google DeepMind grocery multivendor learning management system LiteSpeed Cache lms marketplace Matomo multi-vendor Opera PHP Plugin Update responisve shopify theme Sale SEO shop SSH Trending Updates Web Hosting woocommerce wordpress World Backup Day
Facebook X (Twitter) YouTube
  • Privacy Policy
  • Terms of Service
Copyright © 2025 - binaryBlackboard.

Type above and press Enter to search. Press Esc to cancel.