WordPress.org

Forums

Soundy Background Music
Background music on non-static homepage (4 posts)

  1. chicagola
    Member
    Posted 11 months ago #

    Hello,

    I like your plugin and it works great.

    I only want the background music on my homepage. The problem is that the frontpage and the blog page are the same. Which means I can't set the background music like I would with a static page or post.

    Is there a way to set the background music for a blog page?

    https://wordpress.org/plugins/soundy-background-music/

  2. Bertrand du Couedic
    Member
    Plugin Author

    Posted 11 months ago #

    > I like your plugin and it works great.

    Thanks !

    Isn't there a WP page associated with your blog page ?

    Sorry, I'm not a WP guru so I'm asking you: how can you have a blog page without having an associated static page ?

    If you would have a WP page associated with your blog, you could just enable Soundy for this page with the Edit Page WP utility.

    I have configured a WP test site: http://nathalie.webartisan.ch

    On this site, there is a blog page: http://nathalie.webartisan.ch/en/events/ which lists event posts.

    As you can see and hear, this blog page plays Soundy's default soundtrack.

    The blog page actually is a static page with no content. Its associated template file just lists all posts of type "event".

    Can't you do do something like this ?

  3. chicagola
    Member
    Posted 11 months ago #

    In the Admin panel, under Settings> Readings, WP ask to set up the frontpage display to either "your latest posts" or "static page".

    In my case, I want my homepage to be my blog page so I chose "your latest posts". Therefore, my homepage/blog page isn't a static page.

    I can create a static page called "home" but I can't set it up as a front page and as a posts page at the same time since they will be in conflict. Actually, I tried to do it but my blog disappeared and also got the following warning message from WP "Warning: these pages should not be the same!"

    Is there maybe a code I can use to add the background music to the home/blog page?

  4. Bertrand du Couedic
    Member
    Plugin Author

    Posted 11 months ago #

    >Is there maybe a code I can use to add the background music to the home/blog page?

    No, sorry. The plugin is conceived to be configured in the Edit Page or Edit Post page.

    The only solution I see for now to your problem is:

    1. Add a static page.
    2. Associate it with a template which lists posts.
    3. Enable Soundy for this page.
    4. Declare the page as your frontpage.

Reply

You must log in to post.

About this Plugin

  • Soundy Background Music
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.