• I am using the shortcode to attempt two different layouts on a page. The first layout is showing all of the child pages minus the most recent. This works as expected. For the second layout, I am wanting to show the most recent child page, BUT, I would like this split into two columns: one column with JUST the thumbnail and the second column with the page title and except. Is there a way to add an argument to the shortcode that will hide the title?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author caterhamcomputing

    (@caterhamcomputing)

    There is not currently a hide_title type parameter, but I will look at adding one in the next release.

    Thread Starter Michael

    (@mhoerner)

    Thanks!

    The option works well. However, I added the code to the functions file mentioned in another ticket to have the image appear above the title. When this code is in the functions file, it overrides that hide_title parameter. When I remove it, the titles are gone.

    Do you know of a work around?

    Plugin Author caterhamcomputing

    (@caterhamcomputing)

    Sorry to have taken a while to get back to you.

    In the override for the ccchildpages_inner_template filter, replace the title element (originally by default <h3{{title_class}}>{{title}}</h3>) with {{title_tag}}.

    If you are using anything other than the default title code in h3 elements, you need to override this using the ccchildpages_title_template filter. By default this contains <h3{{title_class}}>{{title}}</h3>.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Option to Hide Title’ is closed to new replies.