Can't delete "all" options in portfolio

  • Posted in : Empathy
  • yudihe
    Participant

    Hi, I am trying to categorize my portfolio into “work” and “workshop”. I figured out how to delete the label “all” but all my work are still showing in my “wok” session when the first time users open my portfolio. How can I only show my “work” related work in the first time? Thank you!

    serkan
    Moderator

    Hi, paste the code below to the “External Stylesheet / Javascript” box under Theme Settings > Style;

    <script>
    (function($) { "use strict"; 
       $('#filters li').first().remove();
       setTimeout(function() { $('#filters li').first().find('a').trigger('click')}, 1000);
    })(jQuery);
    </script>
    yudihe
    Participant

    Hi Serkan, thanks for the reply. Unfortunately I can’t find”theme settings>style”. The closest I can find is under”Appearance” it has option “theme” and “theme options”, but none of them provides options to put customized code. I then went to “editor” and tried to find the source file, but not sure which one to use.

    serkan
    Moderator

    Hi,
    You can install and run this plugin and paste your js code,
    https://wordpress.org/plugins/custom-css-js/
    Thanks

    yudihe
    Participant

    Hi Serkan, I have installed the plugin and tried to put the code in “all custom code” and “all custom html”, but nothing happens. Thanks!

    serkan
    Moderator

    Hi,
    I will forward this question to our developer and I will keep you updated.
    Thanks for your patience.

    ahmetsali
    Keymaster

    Hi, can you provide your related page url and let us check what’s wrong.

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register