Title: mac800's Replies | WordPress.org

---

# mac800

  [  ](https://wordpress.org/support/users/mac800/)

 *   [Profile](https://wordpress.org/support/users/mac800/)
 *   [Topics Started](https://wordpress.org/support/users/mac800/topics/)
 *   [Replies Created](https://wordpress.org/support/users/mac800/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/mac800/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/mac800/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/mac800/engagements/)
 *   [Favorites](https://wordpress.org/support/users/mac800/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Multisite Subfolders](https://wordpress.org/support/topic/multisite-subfolders/)
 *  Thread Starter [mac800](https://wordpress.org/support/users/mac800/)
 * (@mac800)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/multisite-subfolders/#post-4329612)
 * I heard about blog as folder name being blocked or something.
 * In the end it should look like this…
 * /de/ -> Website (part of multisite WordPress installation)
    /en/ -> Website (
   part of multisite WordPress installation) /den/blog/ -> Blog (new WordPress installation)
 * Any chance?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery] [Plugin: NextGEN Gallery] Gallery doesn't work when not "private"](https://wordpress.org/support/topic/plugin-nextgen-gallery-gallery-doesnt-work-when-not-private/)
 *  Thread Starter [mac800](https://wordpress.org/support/users/mac800/)
 * (@mac800)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-gallery-doesnt-work-when-not-private/#post-2787584)
 * After a lot of trial and error (a lot of ERROR), i finally found a solution.
 * So for anybody who can’t get nggShowImageBrowser () to work in PHP here is my
   solution:
 *     ```
       <?php
       $gallery = get_post_meta($post->ID, 'gallery_id', true);
       echo nggShowImageBrowser($gallery);
       ?>
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Adf.ly: Strange redirect only in Safari](https://wordpress.org/support/topic/adfly-strange-redirect-only-in-safari/)
 *  Thread Starter [mac800](https://wordpress.org/support/users/mac800/)
 * (@mac800)
 * [14 years ago](https://wordpress.org/support/topic/adfly-strange-redirect-only-in-safari/#post-2691349)
 * Hi esmi, thanks for the links. Sucuri found hidden iframes on my site.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Adf.ly: Strange redirect only in Safari](https://wordpress.org/support/topic/adfly-strange-redirect-only-in-safari/)
 *  Thread Starter [mac800](https://wordpress.org/support/users/mac800/)
 * (@mac800)
 * [14 years ago](https://wordpress.org/support/topic/adfly-strange-redirect-only-in-safari/#post-2691347)
 * Hi nesthome. Do you have plugins like ClickBump or Jetpack?
 * I deactivated all of my plugins to see if this adf.ly goes away and it did. One
   of those plugins seems to be responsible for the redirection.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Adf.ly: Strange redirect only in Safari](https://wordpress.org/support/topic/adfly-strange-redirect-only-in-safari/)
 *  Thread Starter [mac800](https://wordpress.org/support/users/mac800/)
 * (@mac800)
 * [14 years ago](https://wordpress.org/support/topic/adfly-strange-redirect-only-in-safari/#post-2691183)
 * Thanks again, J. Hm… very strange.
 * Work in progress, site has only been online for a couple of hours.
 * Mac800
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Adf.ly: Strange redirect only in Safari](https://wordpress.org/support/topic/adfly-strange-redirect-only-in-safari/)
 *  Thread Starter [mac800](https://wordpress.org/support/users/mac800/)
 * (@mac800)
 * [14 years ago](https://wordpress.org/support/topic/adfly-strange-redirect-only-in-safari/#post-2691178)
 * I saw it on friend’s computer first or by ‘local’ do you mean German?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Adf.ly: Strange redirect only in Safari](https://wordpress.org/support/topic/adfly-strange-redirect-only-in-safari/)
 *  Thread Starter [mac800](https://wordpress.org/support/users/mac800/)
 * (@mac800)
 * [14 years ago](https://wordpress.org/support/topic/adfly-strange-redirect-only-in-safari/#post-2691177)
 * Thanks for the quick reply, Jparra! If you could try one more time. It just happened
   again on my machine. Maybe it is some kind of interval.
 *   Forum: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
   
   In reply to: [WordPress Access Log: Deletion of Posts](https://wordpress.org/support/topic/wordpress-access-log-deletion-of-posts/)
 *  Thread Starter [mac800](https://wordpress.org/support/users/mac800/)
 * (@mac800)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/wordpress-access-log-deletion-of-posts/#post-2676828)
 * Thanks SouthStationMedia! That did the trick.
 *   Forum: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
   
   In reply to: [WordPress Access Log: Deletion of Posts](https://wordpress.org/support/topic/wordpress-access-log-deletion-of-posts/)
 *  Thread Starter [mac800](https://wordpress.org/support/users/mac800/)
 * (@mac800)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/wordpress-access-log-deletion-of-posts/#post-2676784)
 * Thanks Ipstenu. I was afraid this wasn’t possible. The trash is empty, I guess
   it is gone.
 * Still I would like to know when it happend. I have the log files for the days
   I think he trashed everything.
 * I can see a lot of “edit.php” actions and they have js codes. Is there a way 
   to find the “trash” action through these js codes?
 * It is really annoying and there was some value in this too.
 * Hope you or somebody can help me.
 * Thanks again
 * Mac800
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Category Navigation: WP_Query Problem?](https://wordpress.org/support/topic/category-navigation-wp_query-problem/)
 *  Thread Starter [mac800](https://wordpress.org/support/users/mac800/)
 * (@mac800)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/category-navigation-wp_query-problem/#post-2639549)
 * Thanks for the code, hobbsh. I installed wp_pagenavi but unfortunately it didn’t
   work. This is how I used your code…
 *     ```
       $args=array(
       'post_type' => 'product',
       'order'=> 'DESC',
       'post_status' => 'publish',
       'posts_per_page' => 20,
       'paged' => get_query_var('paged'),
       'caller_get_posts'=> 1
       );
       $my_query = new WP_Query($args);
       while ( $my_query->have_posts() ) : $my_query->the_post(); ?>
       ```
   
 * And I close like this…
 *     ```
       <?php endwhile; ?>
       <?php wp_pagenavi(array( 'query' => $my_query ) ); ?>
       ```
   
 * Pagenavi seems to work, Pagination buttons are changing when I change posts_per_page
   value.
 * Still it returns 404, when I hint the second page link.
 * Any other idea?
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Category Navigation: WP_Query Problem?](https://wordpress.org/support/topic/category-navigation-wp_query-problem/)
 *  Thread Starter [mac800](https://wordpress.org/support/users/mac800/)
 * (@mac800)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/category-navigation-wp_query-problem/#post-2639459)
 * I tried something and right now it shows at least ten of my posts though (5 on
   each page (‘posts_per_page’ => 5)) there are 21.
 *     ```
       <?php
       $original_query = $wp_query;
       $wp_query = null;
       $wp_query = new WP_Query( array('posts_per_page' => 5, 'post_type' => 'produkt', 'paged' => $paged) );
       if ( $wp_query->have_posts() ) : while ( $wp_query->have_posts() ) : $wp_query->the_post(); ?>
       ```
   
 * Any idea why it limits itself to 10 posts instead of showing all 21?
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Category Navigation: WP_Query Problem?](https://wordpress.org/support/topic/category-navigation-wp_query-problem/)
 *  Thread Starter [mac800](https://wordpress.org/support/users/mac800/)
 * (@mac800)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/category-navigation-wp_query-problem/#post-2639445)
 * Not really a custom permalink just /%postname%/.
 * I am using multiple queries and I tried your suggestion to use wp_reset_postdata()
   and wp_reset_query, but it didn’t work.
 * I’m closing with this…
 *     ```
       <?php endwhile; ?>
       <div id="navigation" class="digital_f"><?php posts_nav_link(); ?></div>
       <?php $wp_query = null;
             $wp_query = $temp;
             wp_reset_query();
       ?>
       ```
   

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