Home>Support>Removing the Play button for individual posts

Removing the Play button for individual posts

By Richard Foleher, 11 years ago. Last reply by Jon, 11 years ago.
Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Hi,

I’m looking for a way to remove the PLAY button on the Focus slider for posts that aren’t a video.

Examples here:

http://everythingvoice.co.uk/

The first post (image on the slider) is actually a written post, not a video post. The ability to change the play button to a ‘Read More’ button on an adhoc basis would be great.

Any way to do this?

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 11 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    HI Richard

    This is a bit trickier than removing it globally. Have you considered heading to Appearance > Theme Settings and rather restricting your slider to a certain category, thereby removing posts that aren’t videos from your slider?

  2. 11 years, 3 months ago Jon

    Assign video posts a video category or tag and assign a different category to text posts.

    Then you can set a check for if post has a given category, give the post a .play class (this shows the play button) and if not, give the post a .text class (copy the .play class in the css and change the image url).

    Alternatively, you could setup a post type one for videos and one for text (this is really how the theme SHOULD be set up). This way it is as simple as assigning a post type rather than a category or tag.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More