• Hi,

    first of all: I purchased the theme and love it since it’s easy to setup and really fast! However I am having an issue, that I need help with.

    I need to show dynamic content (via html code, it’s a number that gets automatically updated) inside the slider or instead of the slider. Right now If I display a site in the slider it is only able to show text but nothing more. How can I achieve to show EVERY content of my created site? Or – if thats not possible – how can I replace the slider and show something else there (widget, customizable code, e.g…).

    Thank you in advance!

    Nils

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Ben Sibley

    (@bensibley)

    Hi Nils,

    Thanks for using Startup Blog!

    The Slider needs to link to a post or a page, so I’m afraid it can’t be used for HTML only. However, the text it displays comes from the Excerpt box, and HTML is allowed there: screenshot.

    Let me know if that works okay for your site.

    Thread Starter kapitalfarm

    (@kapitalfarm)

    Hi Ben,

    thanks for your reply! Unfortunately html doesn’t work for what I want to embed here. The good news: html (e.g. formatting text) is indeed working in the excerpt box. As the plugin Code doesn’t show the chart I want to embed, I wanted to insert it via html-iframe. But now the slider is just empty and without the iframe. Is there any solution to this or do I just need to accept the limits of that slider? ?? It would even be fine for me to completely get rid of the slider, if I’m able to put a regular working html-code in that place.

    Thanks again and best wishes

    Theme Author Ben Sibley

    (@bensibley)

    There isn’t a good way to add other types of content into the slider, but if you are comfortable working with some code, there is a way you can output something else in that part of the site.

    If you’d like to remove the slider entirely, this CSS will hide it:

    #bb-slider {
      display: none;
    }

    Then in the Code plugin you’re using, you can add this PHP function to output HTML where the slider would be:

    function startup_blog_output_html() {
      echo '<p>This is example HTML</p>';
    }
    add_action('startup_blog_after_header', 'startup_blog_output_html');

    You may need to add some custom CSS to style things nicely, but that will at least get you started in the right direction.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Show content in the Slider’ is closed to new replies.