• Hi,

    I’m creating a template which contains a slider on a page.

    The slider is placed with a shorttag.
    No the thing is that when I create my page it shows the slider followed by the content of that page.
    However the title of the page is showed on top of the slider.

    I would like to show tha title underneath the slider.

    I’ve tried this with the excerpt but no succes.

    Anyone any ideas?

Viewing 6 replies - 1 through 6 (of 6 total)
  • You would need to remove the code for the title display in your template file and possibly add it to the output generated by your slider shortcode.

    Thread Starter mvanboordt

    (@mvanboordt)

    Ok that might be an idea but the place where I need to eddit that is based on JS.

    I can’t work with JS(yet) so I don’t really know where to look or edit.

    ??

    Isn’t there a way to slice up the_content():?

    If you are using a shortcode, then this shortcode will be created within your theme’s function.php file. Try looking in there.

    Thread Starter mvanboordt

    (@mvanboordt)

    It’s not in my functions.php file because it’s a plugin!

    However I tried to find it in the plugin but it’s nowhere I can see it.

    Thread Starter mvanboordt

    (@mvanboordt)

    I just found the piece where the shorttag is being made:

    [39 lines of code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    No I need to find a way to add the_title();
    But when I try to it doesn’t give me an error but just doesn’t show

    Thread Starter mvanboordt

    (@mvanboordt)

    Just came to my attention that the shortcode in the gallary will not be the answer. I have used the gallary in places where I don’t want the title.

    Question change:

    I would like to split up the_content();
    I’m using shorttags for a gallery.

    The thing I would like to create is the following:

    the shorttag
    the title
    the content

    The shorttag is in the content so automaticly it shows the following output:

    the title
    the shorttag
    the content

    Which means that the title is above the gallery.

    How an I split up the content so that I have my title underneath my gallery?

    Thnx in advance.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Edit the content’ is closed to new replies.