mac800
Forum Replies Created
-
Forum: Networking WordPress
In reply to: Multisite SubfoldersI 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?
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
In reply to: Adf.ly: Strange redirect only in SafariHi esmi, thanks for the links. Sucuri found hidden iframes on my site.
Forum: Fixing WordPress
In reply to: Adf.ly: Strange redirect only in SafariHi 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
In reply to: Adf.ly: Strange redirect only in SafariThanks again, J. Hm… very strange.
Work in progress, site has only been online for a couple of hours.
Mac800
Forum: Fixing WordPress
In reply to: Adf.ly: Strange redirect only in SafariI saw it on friend’s computer first or by ‘local’ do you mean German?
Forum: Fixing WordPress
In reply to: Adf.ly: Strange redirect only in SafariThanks 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
In reply to: WordPress Access Log: Deletion of PostsThanks SouthStationMedia! That did the trick.
Forum: Everything else WordPress
In reply to: WordPress Access Log: Deletion of PostsThanks 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
In reply to: Category Navigation: WP_Query Problem?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
In reply to: Category Navigation: WP_Query Problem?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
In reply to: Category Navigation: WP_Query Problem?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(); ?>