Deprecated: Function get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead. in /var/www/html/wp-includes/functions.php on line 5383

Custom page linked to an icon selection

New Front EN Support Forums Ikebana Theme Support Custom page linked to an icon selection

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9380
    leslyejoy
    Participant

    Hi Andrii.The icons down the left side of my pages represent categories of work in my portfolio and my portfolio pages are tagged accordingly. There is one category that doesn’t currently have any work in it, so when you click on that icon, you get a page with only the category title.I would like to keep the category title but add an image and some text to this page so it is the same as this page: http://www.ljwood.com/extras/super-secret-stuff. Can you tell me how to do that? And if I want to edit that page later so it is similar but a little different from http://www.ljwood.com/extras/super-secret-stuff, can you tell me how to do that too? My site is ljwood.com. Thanks! Leslye

    #9426
    mmsatori
    Keymaster

    Hey Leslye,

    configurable default states for empty tag archive pages are not yet envisaged in Ikebana, yet technically it can be achieved by editing the “taxonomy-tagportfolio.php” theme file – adding a conditional statement after line 59 that outputs certain html and content if the preceding $wp_query object is empty (a test if it’s not empty is already present on line 57, so an “else”-clause is all that’s needed, really).

    Sincerely,
    Andrii / Satori Studio

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.