Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1170979
    Rue Nel
    Moderator

    Hello There,

    Thank you for the updates. Could please update the code and use this instead:

    function remove_permalink_to( $translated_text, $text, $domain ) {
      switch ( $translated_text ) {
        case 'Permalink to: "%s"' :
          $translated_text = '';
          break;
      }
      return $translated_text;
    }
    add_filter( 'gettext', 'remove_permalink_to', 20, 3 );

    And if you want to totally remove all the permalinks sitewide and in all content links, please add the following JS code in the customizer, Appearance > Customize > Custom > Javascript

    (function($){
      $('.entry-content *[title]').removeAttr('title');
    })(jQuery);

    We would loved to know if this has work for you. Thank you.

    #1170987
    Bark201
    Participant
    This reply has been marked as private.
    #1171006
    Rue Nel
    Moderator

    Hello There,

    It is best the you regenerate your site cache. And make sure that all your latest updates and site changes will be included in the new site cache. You may even try disabling your site cache and see how it goes.

    Please let us know.

    #1171015
    Bark201
    Participant

    Disabling the cache made a bigger mess, dont ask. How do you regenerate the cache in W3tc? Emptying the cache doesnt fix it.

    #1171071
    Rue Nel
    Moderator

    Hello There,

    When the cache is disabled, there should be no errors in it. To rebuild the minify cache use the empty cache operation. Update media query string to make existing file modifications visible to visitors with a primed cache. And please also check if there is a caching mechanism in your hosting provider. Most server does have caching for fast server loading.

    And lastly, please clear your browser cache as well. You can even try to use Chrome’s incognito mode and test your site again.

    Hope this helps.

    #1171099
    Bark201
    Participant

    If I disable the whole plugin there are errors. Only when I disable the page cache then it works. I dont know why that code affected the W3 total cache but because of that code I am having issues with the W3 total cache now. You are obiously familiar with W3 total cache, it keeps displaying the cached version again and again. Emptying the cache doesnt fix it. I am using disk enhanced.

    This whole problem started with that code.

    #1171133
    Bark201
    Participant

    This function code pulled out data from the old theme I was using and thats why all this started. Its my best guess. If I delete the old theme’s files could that help?

    #1171184
    Christian
    Moderator

    Please backup your site and test it. We could not say what will happen as we don’t have knowledge of your setup. It would be best if you seek help from a local WordPress developer to work closely with you.

    Thank you for understanding.

    #1171199
    Bark201
    Participant

    I am getting closer to a solution but its not permanent. There is something in that specific page that is causing problems since that function code. If I make any content changes to that page the problem resurfaces. I have 2 possibilities, to change the page and see what happens or to restore an old htaccess and wp-config file from a few days ago and hope it will fix itself. The site worked perfect until that code.

    #1171264
    Christian
    Moderator

    As previously said, you might need to reset WordPress files and folders permission after modifying template files like in WP Engine web host. Also, clear caching and deactivate all third party plugins and clean up left overs. If you can’t do that, copy your site to a development server and test there. We could not help you with that and issues arising from custom code (even though we gave it since it is not part of the core features) and caching please seek help from a WordPress developer to work closely with you.

    Thank you for understanding.

    #1171320
    Bark201
    Participant

    Its the caching plugin for sure. I can play with it, erase everything from htaccess and wp-config, uninstall and re-install but I dont have time to play with the code anymore, not today.

    Its not the file restrictions, I have a plugin that monitors all the restrictions in real time.

    #1171369
    Christian
    Moderator

    We’re sorry but this is outside the scope of our support. You might want to contact our trusted partners who caters X setup and customization needs. Please see https://community.theme.co/custom-development/

    Thank you for understanding.

    #1173224
    Bark201
    Participant

    I would like to thank for all your help. This was partially my fault because I should have mentioned I switched from another theme. The issue is with the caching plugin so I will see how I fix it later down the road. For the moment its disabled for caching pages.

    #1173320
    Christian
    Moderator

    You’re welcome.

    #1245094
    Bark201
    Participant
    This reply has been marked as private.
  • <script> jQuery(function($){ $("#no-reply-1170412 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>