Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    I recently noticed a similar issue on my site using the Polylang plug-in. Was the malware related to Polylang at all? It seems to have generated over 62,000 posts on my site….

    Thread Starter mimi_min

    (@mimi_min)

    Never mind…they’re still only showing up when they’re the default language. 🙁

    Thread Starter mimi_min

    (@mimi_min)

    Okay, I think the problem may have been that when I added the translation rather than changed it, I had previously tried to add media to the gallery when there were already some images in it from changing the few images I used to test…. which caused the shortcode to forget that the other images were supposed to be there as well. It works now when I don’t mess with the gallery in the post until after I had added translations for all the images.

    Still, though; a bulk translation adding feature would be immensely helpful. Or, having media IDs just use the image with the default translation or whatever’s available until another language is added would also work.

    Thread Starter mimi_min

    (@mimi_min)

    Never mind, somehow it’s working again. I’m not sure what happened! Thank you though!

    Thread Starter mimi_min

    (@mimi_min)

    OH WOW Okay

    So I thought that this:

    <?php if ( function_exists ( dynamic_sidebar('blog') ) ) : ?>
    <?php dynamic_sidebar ('blog'); ?>
    <?php endif; ?>

    was the way to do it, I also tried

    <?php if ( function_exists ( dynamic_sidebar('sidebar-blog') ) ) : ?>
    <?php dynamic_sidebar ('sidebar-blog'); ?>
    <?php endif; ?>

    might be the problem, but…

    I didn’t know you were supposed to put in the sidebar’s ID, so…

    if ( function_exists('register_sidebar') ) {
    register_sidebar(array(
    'name' => 'Blog Sidebar',
    'id' => 'blog-sidebar',
    'description' => 'Appears as the sidebar on blog pages',
    'before_widget' => '<div style="height: 280px"></div><li id="%1$s" class="widget %2$s">',
    'after_widget' => '</li>',
    'before_title' => '<h2 class="widgettitle">',
    'after_title' => '</h2>',
    ));
    }

    Means I have to do it like this.

    <?php if ( function_exists ( dynamic_sidebar('blog-sidebar') ) ) : ?>
    <?php dynamic_sidebar ('blog-sidebar'); ?>
    <?php endif; ?>

    Tadaaa. I looked everywhere but I guess I wasn’t paying enough attention.

    “But I swear that’s what I put!”

    Hahaha. Thanks anyway (´▽`;)

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