Oneside
Forum Replies Created
-
Works perfect. Thank you!
Forum: Plugins
In reply to: [Responsive Lightbox & Gallery] JS Error $.uniqueSort is not a functionjQuery Migrate Helper plugin did not help.
The error is gone when I disable the Responsive Lightbox & Gallery plugin.Forum: Plugins
In reply to: [Firelight Lightbox] Uncaught TypeError: a.onCleanup is not a functionI get the same Error:
Uncaught TypeError: a.onCleanup is not a function
at _show (jquery.fancybox.min.js?ver=1.3.24:1)
at _process_inline (jquery.fancybox.min.js?ver=1.3.24:1)
at _error (jquery.fancybox.min.js?ver=1.3.24:1)
at Object.success (jquery.fancybox.min.js?ver=1.3.24:1)
at i (jquery.js?ver=1.12.4-wp:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
at x (jquery.js?ver=1.12.4-wp:4)
at XMLHttpRequest.c (jquery.js?ver=1.12.4-wp:4)Forum: Plugins
In reply to: [Contact Form 7] Contact Form 7 and WooCommerce JSON refill 404 ErrorHi, the site with the formular is available here:
Forum: Plugins
In reply to: [MailPoet Newsletters (Previous)] Fake subscribers – like a lot…We have the same problem on one installation.
100+ spam subscriptions per day since one month.Okay, thanks.
The shortcode returns a number. Something like:
"We have [experience /] years of experience in ..."Hi, unfortunately not. The descriptions are not autogenerated, they are manually assigned to each post/page.
Forum: Networking WordPress
In reply to: Images won't load on multi-site sub sitesWordPress is using the script “wp-includes/ms-files.php” to show images. Try to call an image directly using this file.
First choose one image from your sub-site`s file directory:
“wp-content/blogs.dir/[SUBSITEID]/YEAR/MONTH/FILENAME.jpg”
Now try to call “ms-files.php” directly and pass your image location as “file” parameter:
http://www.YOURDOMAIN.COM/wp-includes/ms-files.php?file=YEAR/MONTH/FILENAME.jpg
If you see a blank page (white screen), you probably have a memory problem. Try to allocate more memory by placing a php.ini file in the “wp-includes/ directory with this content:
memory_limit = 256M;
Forum: Networking WordPress
In reply to: Query posts by custom post type and category idYes, but i have no problem querying posts from the other blog.
The switch_to_blog() function works perfect to change the blog and query posts by post_type works fine also:
$args = array('post_type' => 'events'); $loop = new WP_Query( $args );The only thing which is not working is to add the post_type category-ID to the query:
$args = array('post_type' => 'events','cat'=>CATEGORY_ID); $loop = new WP_Query( $args );It seems, that the “cat” parameter is only working for standard categories right? Is it not for custom post_type categories?
Forum: Networking WordPress
In reply to: Query posts by custom post type and category idIts on a multisite Installation. Bevor i try to query the posts i use switch_to_blog() to switch to the target blog:
global $switched; switch_to_blog(2); // Here we go with the problem query $args = array('post_type' => 'events','cat'=>35); $loop = new WP_Query( $args ); while ( $loop->have_posts() ) : $loop->the_post(); // DO SOMETHING endwhile; wp_reset_query(); restore_current_blog();But maybe this question would fit to the “How-To and Troubleshooting” section?
Forum: Plugins
In reply to: programming – how to get the tag id from the viewed tag pagehi otto42,
plugins load before the query is parsed and created?
Thats sounds like my problem!have to defer using that stuff until at least the init action hook.
Im a quite unskilled in programming plugins. How can i realize that?
Thanks 4 your help!