Support for Envato Buyers Forums OldCar Video Issue

Viewing 8 reply threads
  • Author
    Posts
    • #6503
      rsharpe75
      Member

      Hi,

      I am no using a video service on my site but instead I am using self-hosted videos. To display the videos I am using the Flowplayer plugin. The plugin uses shortcodes to place the video on the page, similar to this: [flowplayer id=”88″]

      My issue is that the actual shortcode string is being shown in the excerpt on the main page instead of the relevant text. How do I stop the shortcode showing?

      Regards

    • #6510
      rsharpe75
      Member

      Hi Johnny,

      That didn’t work, do you think strip_shortcodes would work instead?

    • #6516
      rsharpe75
      Member

      strip_shortcodes didn’t work either. I’d really like a solution to this issue because leaving exposed shortcodes on the page is not an option for me.

    • #6524

      Could you tell me your website link? If possible, you can post your link and wp login details with private reply.
      I want to check your site first in order to make sure my understand is correct or not.

    • #6584
      rsharpe75
      Member
      This reply has been marked as private.
    • #6593

      Hi

      I checked your site, or you can try the following code

      echo  do_shortcode(get_the_excerpt());

      Let me know the result. If it still can’t solve the issue, hope you can tell me your wp login details, I will change the code with theme editor.

      Thanks

    • #6603

      Oh.. finally I understand your mean.

      You can set the excerpt text separately, just put your own excerpt text into “Excerpt” field which is below the editor.
      Just check the latest post, I have fixed it.

      Thanks

    • #6605
      rsharpe75
      Member

      So there is no way to use automatic excerpt? If there is a way to fix this for automatic excerpt it would be the most preferred approach for me.

      Regards

    • #6611

      It’s already automatic excerpt now, but like your issue, the automatic excerpt can’t detect and remove the shortcode, so then you must set it separately.

    • #6508

      Hi

      Because the excerpt content doesn’t support shortcode by default, so you need to edit the posts-grid.php, find the following code about at line 27

      the_excerpt();

      Change to

      echo  do_shortcode(the_excerpt());

      Thanks

    • #6597
      rsharpe75
      Member
      This reply has been marked as private.
Viewing 8 reply threads
  • You must be logged in to reply to this topic.