Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter andersbalari

    (@andersbalari)

    Thanks, Steve!

    I try to load all images which haven’t been loaded by means of a lazy load plugin, which leads to missing images when the user doesn’t scroll to the end of the page.

    Thread Starter andersbalari

    (@andersbalari)

    The widgets are correctly displayed, the issue’s just affecting the backend. It is caused by a plugin relating to Google Analytics, just like @sarawatsonim suggested. When I deactivate it, all widget areas are displayed correctly in the backend.

    Thanks @sarawatsonim !

    Thread Starter andersbalari

    (@andersbalari)

    Thanks, I’m going to check this.

    Thread Starter andersbalari

    (@andersbalari)

    Thanks for your replies!

    I already had proceeded very similar to the process eldoradoseo has outlined.

    Manually cleansing all the custom .php-files for which I didn’t have an appropriate backup really was a pain in the a…

    The site is up and running again.

    As I use security plugins (WordFence on one of the attacked sites, which could be repaired with simply restoring the backup file; and the successor of “Better WP Security” on the other two sites that were affected) I think the attacks might have been successful only due to a security leak in the “MailPoet” plugin – the developers had sent a warning in a timely manner, however, I didn’t find time to update to the fix they provided until it was too late. Thus: Mea culpa.

    Thread Starter andersbalari

    (@andersbalari)

    Thanks a lot! It now works – however, some errors I couldn’t sort out as they are produced by third party plugins which I want to use. And I don’t want to change the code of those.

    Thread Starter andersbalari

    (@andersbalari)

    I should have queried the forum first, sorry!!! The problem was that I had opted for custom field synchronisation in the admin tab. Once I unchecked this option everything worked fine!

    Thread Starter andersbalari

    (@andersbalari)

    Oh, now I understood, finally! 🙂

    Indeed, this was the problem – I edited the entries and now it works fine! Thank you very much!

    Thread Starter andersbalari

    (@andersbalari)

    Thanks for your reply!

    Both in database and in wp-config.php the locale is set to de_DE.

    When I leave my backend admin setting to “WordPress default”, I get a German backend – but I get an English admin bar in frontend. When I opt for “German” in this setting, both the backend and the frontend admin elements are in English (while the option “English” leads to the expected result)!

    I tested xili-Language, but installed Polylang before – I had it deactivated when I tested xili. Xili is deleted, also the entry in the options table of my database.

    Still I encounter my problem. 🙁 So what can I do?

    Thread Starter andersbalari

    (@andersbalari)

    In my experience, I have to check the box for the CPT I’m trying to add this to, but then if I add the PHP echo, it shows up twice instead of just once.

    What do you mean with CPT? I’m not familiar with this abbreviation.

    @andersbalari do I need to remove the filter for every loop or can I just add the remove_filter lines once to my functions.php?

    It should work to remove the filters within your functions.php – just give it a try and let us know the result ;-).

    Thread Starter andersbalari

    (@andersbalari)

    Hi Iva,

    are you sure that you proceeded exactly as suggested? All has to take place within the loop. The filters have to be removed before the content or the excerpt is displayed and <?php echo sharing_display(); ?> has to be placed within the loop as well.

    … Once I have added the filter …

    Is this just a typo? The filters have to be removed, not added, in order to override the automatic placement.

    If you don’t manage to make it work, just post the relevant code sections.

    Cheers

    Anders

    Thread Starter andersbalari

    (@andersbalari)

    Unfortunately this was not working for me. I was using Automattic’s own Toolbox theme. So I had to comment out the add_filter from the plugin editor. I guess I just have to watch out everytime Jetpack is updated.

    That’s puzzling me. Why should remove_filter not work? Did you make sure that you had no typo and placed the code in the correct position? Being dependant on manual corrections after each plugin-update is both dangerous and uncomfortable.

    Thread Starter andersbalari

    (@andersbalari)

    @mesayre: It is puzzling that you got just a blank page – when I tested the error the respective pages where displayed correctly up to the erroneous code line and then there was an error message, just as one would expect.

    I see no reason why function_exists should not work, perhaps you might want to try it again.

    @admturner: is_plugin_active in my opinion is too general for the case in which Automattic changes the plugin just as mesayre warned above.

    Thread Starter andersbalari

    (@andersbalari)

    Thanks for the information. That indeed is a problem!

    This works for me:

    <?php if ( function_exists( 'sharing_display' ) ) remove_filter( 'the_content', 'sharing_display', 19 ); ?>
    <?php if ( function_exists( 'sharing_display' ) ) remove_filter( 'the_excerpt', 'sharing_display', 19 ); ?>

    and

    <?php if ( function_exists( 'sharing_display' ) ) echo sharing_display(); ?>

Viewing 13 replies - 1 through 13 (of 13 total)