Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • #1394045

    Hey Zdeněk,

    Thank you for the inquiry.

    Are you trying to hide the folder link from the editor? We may need to access the site and inspect the element in order to provide the required modification. Please provide the site details in the private field.

    Best regards,
    Ismael

    #1394033

    Hi Enfold team,
    for sorting my media library, pages or Portfolio items I use „Folders“ plugin. One of the feature of this plugin is that I can use the Portfolio items Folders in Masonry.

    So I have some of the Portfolio items in the Portfolio Category but also in the Portfolio Folders.

    In my Portfolio pages I use metadata (category). And there is something where I should your help.
    In the metadata in front-end I see not only the Portfolio Category but also the Portfolio Folder => but I don´t want to display the Folders in the metadata.

    Screenshot here: https://mtsakademie.cz/report/Enfold_Portfolio_Items_and_Folders.pdf
    Live site here: https://mtsakademie.cz/nase-sluzby/mts-hubnuti-chuzi/

    I have discussed that first with „Folders team“, but they told me, that it is not possible to change it, because „The Folders work with the entire Portfolio custom post type”.

    I understand and my question is: Is possible to hide it by using css? I would do it myself but there is no special class and I can´t find the right css code.

    Thanks a lot,
    Zdenek

    #1394481

    Hi Ismael,
    I am not sure what you exactly mean by “hide the folder link from the editor”, but probably yes. I want to hide the folder link from front-page metadata container.

    Credintials in the Private Content.

    Thank you!
    Zdenek

    #1394050

    Topic has been marked as read by Ismael

    #1394505

    Hi,

    Thank you for the info.

    We logged in and added this code in the functions.php file.

    add_action('admin_head', 'ava_custom_admin_css');
    
    function ava_custom_admin_css() {
      echo '<style>
        li[data-slug="vyziva-a-hubnuti-1673934823-1"] {
            display: none !important;
        }
      </style>';
    }
    

    This hides the Výživa a Hubnutí link in the dashboard.

    Best regards,
    Ismael

    #1394565

    Hi Ismael,
    sorry I explained wrong what I need. Your code works in the back-end, but that´s not what I need. I want to hide the link in front-end.

    See the screenshot here: https://snipboard.io/kL8b4C.jpg

    Sorry for misunderstanding, my english is not perfect.

    Thanks for you patience!
    Zdeněk

    #1394654

    Hi,

    Thanks for the update. Was this the same problem which was solved in a different thread?

    Best regards,
    Rikard

    #1394738

    Hi Rikard,
    this is the same problem, but it was not solved yet.

    Please keep this thread opened I am still waiting for a solution.

    Br,
    Zdenek

    #1394863

    Hi,

    If you want to hide the categories in the frontend, please add this css code.

    span.av-post-metadata-category-link {
        display: none;
    }

    Or use this css code to specifically hide the Výživa a Hubnutí link.

    span.av-post-metadata-category-link a[href="https://mtsakademie.cz/?taxonomy=portfolio_folder&term=vyziva-a-hubnuti-1673934823-1"] {
        display: none;
    }

    Best regards,
    Ismael

    #1394867

    Or use this css code to specifically hide the Výživa a Hubnutí link.
    span.av-post-metadata-category-link a[href=”https://mtsakademie.cz/?taxonomy=portfolio_folder&term=vyziva-a-hubnuti-1673934823-1″%5D {
    display: none;
    }

    That´s what I exactly need, but the code unfortunately does not work. I have also tryied to put there “!important” and also disabled CSS file merging in the theme Performance. Nothing helped.
    I also always clear and purge the cash.

    Zdenek

    #1394870

    Hi,

    We tried to login using the account above, but the info seems to be invalid. Please check the account info or provide another admin account.

    Best regards,
    Ismael

    #1394906

    I am sorry, you can find it in the Private Content.

    Br,
    Zdenek

    #1395038

    Hi,

    Thank you for the update.

    We tried purging the plugin cache, but the modification is still not taking effect. It works correctly when we apply it directly in the browser as shown in the screenshot below.

    // https://1drv.ms/u/s!AjjTfXSRbKTvz1wRighgecg8-J7b?e=ZrVvhL

    Have you tried disabling the plugins temporarily? Is there another cache system in your server that we may not know of.

    Best regards,
    Ismael

    #1395504

    Hi Ismael,
    thank you for your response. I have tryied everything: turned off all the plugins, custom css and php and it still does not work. I have also discussed that with my server support, but there is no special cash which could cause it.
    But we see the same behavior as you described; if we put the css code into the google inspector, it works.

    So I did a test:
    In my test page I turned of all the plugins including folders plugin, customizations and switch into parent theme. And I tryied to hide the portfolio category link (https://testweb.mtsakademie.cz/kategorie-sluzeb/lekce-a-kurzy/) by your css code.

    span.av-post-metadata-category-link a[href="https://mtsakademie.cz/kategorie-sluzeb/lekce-a-kurzy/"] {display: none !important;}

    And it also does not work.

    So I have tryied another test:

    If I exclude from the css this part [href="https://mtsakademie.cz/kategorie-sluzeb/lekce-a-kurzy/"], the css (span.av-post-metadata-category-link a {display: none !important;}) works correctly!

    It does not work with this part: [href="https://mtsakademie.cz/kategorie-sluzeb/lekce-a-kurzy/"]

    Credentials into the test page in the Ptivate Content.

    Waiting for your answer.

    Br,
    Zdenek

    • This reply was modified 1 year, 11 months ago by Zdenek.
    #1395533

    Hi,

    When we disabled the Performance > File Compression, the site still loads the compressed and merged files, which tells us that there is a server cache or a feature that preserves the site and database data. Same thing happens when we check the site on private or incognito mode. You might have to keep in touch with your hosting provider and ask them for more information about this.

    Best regards,
    Ismael

    #1395534

    Hi,

    UPDATE: I was checking the live site instead of the test domain. Sorry about that. The css seems to be working correctly now. Please check the link below.

    Best regards,
    Ismael

    • This reply was modified 1 year, 11 months ago by Ismael.
    #1395552

    Hi Ismael,
    sorry, but it still does not work :( It seems like it is working on the test web, but that´s just because I disabled the folders plugin yesterday – I tryied to test something.

    I again asked a server support, but there is nothing what could cause the issue. And if any other css works fine, there must be wrong something else.

    SO, I have prepared for you absolutely clean wordpress instalation. Using just clean Enfold theme (no child) without any setting. And I installed just the Folders plugin. Nothing else.

    And I have tryied your css code. And it does not work!

    So the issue must be either in the css code or in the theme => some confict between the enfold theme and the folders plugin.
    The folders plugin support told me, that they use portfolio custom post types, so cannot it be somewhere there? I don´t know, just tell you what message I have recieved.

    Check here: https://test.mtsakademie.cz/portfolio-item/mts-hubnuti-chuzi/

    Credentials in the Private Content.

    Br,
    Zdenek

    • This reply was modified 1 year, 11 months ago by Zdenek.
    #1396172

    Hi,

    We adjusted the css code a bit, seems to be working correctly now.

    .av-post-metadata-category-link:nth-child(3) a {
        display: none !important;
    }

    Unfortunately, it is not possible to remove the comma after the first entry.

    Best regards,
    Ismael

    #1396739

    Hi Ismael,
    thanks a lot for updating the css code. Now it works.. and I understand it is not possible to also hide the comma, I am ok with it.

    Thank you and you can close the thread.
    Zdenek

    #1396741

    Hi,
    Glad Ismael could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 20 posts - 1 through 20 (of 20 total)
  • The topic ‘Portfolio Item & Folders plugin Metadata’ is closed to new replies.