WordPress.org

Forums

Twenty Eleven
[resolved] How to display all uploaded header images/ (7 posts)

  1. Alex_Lemming
    Member
    Posted 2 years ago #

    Hi, i'm gonna create my own slider with Twenty Eleven theme without any plugins, and the only thing i need is to know how to display all header images at the same time.
    Maybe there is a function like get_header_image() to print all images urls?

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    Do not edit the Twenty Eleven theme. First create a child theme for your changes or use a custom CSS plugin.

  3. Alex_Lemming
    Member
    Posted 2 years ago #

    Do not edit the Twenty Eleven theme. First create a child theme for your changes or use a custom CSS plugin.

    esmi, i asked about function, not about how to create child theme.

  4. esmi
    Forum Moderator
    Posted 2 years ago #

    So - have you already created a child theme?

  5. Alex_Lemming
    Member
    Posted 2 years ago #

    Yes, of course.

  6. esmi
    Forum Moderator
    Posted 2 years ago #

    Will these header images be registered?

  7. Alex_Lemming
    Member
    Posted 2 years ago #

    I found answer, it's that code:
    $my_headers = get_uploaded_header_images();

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic