Skip to:
Content
Pages
Categories
Search
Top
Bottom

picture and media not showing


  • kunefr
    Member

    @kunefr

    Hello everyone!

    I’m having some little problems actually, but today i will only talk about this one:

    When a user write a posts on his blog, if he had a picture, media (youtube video) … it does’nt appear on the homepage in the widget, but instead of that, there is their code (like [caption id=… [/caption] or [youtube ….. [/youtube]

    Any idea to hide these code or even better, diplay the real pictures ?

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

  • Burt Adsit
    Participant

    @burtadsit

    The recent activity and recent posts just show an excerpt of the full post. Looks like you are embedding media through a plugin. WPMU strips *all* the html and other stuff from the post for the small excerpt. Also many plugins hook the the_content() call which displays the entire post. Then your plugin gets a chance to do it’s video embedding thing. Excerpts don’t call the_content() they call the_excerpt(). Different way of showing post content and not processed by the vid plugin.


    kunefr
    Member

    @kunefr

    I understand that. Now a solution would be to use the get_the_excerpt() maybe instead of the bp function.

    I have to work on it to understand how to use it :)


    Burt Adsit
    Participant

    @burtadsit

    Depending upon what plugin you are using and where you can embed the shortcodes ([caption id=… [/caption] or [youtube ….. [/youtube]) it may work or not. Some of the plugins only work on full post displays that use the_content(). It all depends on what theme you are using and what kind of page you are looking at.

    Is this making sense? :D I don’t think I’m being clear.


    kunefr
    Member

    @kunefr

    It is. The only plugin i’m using is the one for buddypress :)

    By example, the Recent Blog Post is doing it .

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘picture and media not showing’ is closed to new replies.
Skip to toolbar