Mindshare Labs, Inc.
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Ultimate Search] Limit Number of Results Per PageJust customize the search template and limit the number of results. See:https://wordpress.org/plugins/wp-ultimate-search/faq/
https://github.com/mindsharestudios/wp-ultimate-search/blob/master/views/wpus-results-template.php
It’s just a standard WordPress loop.
Forum: Plugins
In reply to: [WP Ultimate Search] Is this still active?Yes we need more people to test the beta version before it get published here. See: https://wordpress.org/support/topic/beta-version-with-all-premium-features-free?replies=2
Forum: Plugins
In reply to: [PHP Browser Detection] Where use PHP for show an imageTechnically you cannot do this from the Visual Editor (unless you use another plugin like https://wordpress.org/plugins/allow-php-in-posts-and-pages/).
Forum: Plugins
In reply to: [PHP Browser Detection] Updating caused errorWe haven’t seen this one before… can you install this plugin and post the output to help us narrow it down?
https://wordpress.org/plugins/sysinfo/
Also, you might double check your WordPress file permissions. Typically, they should be 755 for folders and 644 for files.
Forum: Plugins
In reply to: [PHP Browser Detection] Parse error: syntax error, unexpected '“Normal” who can say?
If you want a plugin to do what this one does, it takes more memory.
Forum: Plugins
In reply to: [PHP Browser Detection] Parse error: syntax error, unexpected 'If you can upgrade your hosting to 128mb or better still 256mb it should work, but I can’t promise anything.
Forum: Plugins
In reply to: [PHP Browser Detection] Parse error: syntax error, unexpected 'Yeah that’s an issue with this plugin. It doesn’t play well with most cheap shared hosting packages. You only have 40mb for PHP, this plugin really requires at least 128mb to work well. The problem is that their are so many browsers and devices (over 10,000) in the array that it takes a lot of memory to parse and store.
Forum: Plugins
In reply to: [PHP Browser Detection] Template tag for both mobile and tablet?Here again this is more of an issue with not understanding PHP syntax, but what you need is something like this:
<?php if(is_tablet() || is_mobile()) { /* your code here */ }; ?>Forum: Plugins
In reply to: [PHP Browser Detection] Parse error: syntax error, unexpected 'That’s not valid PHP code…. you want something like this:
<?php if(is_mobile()) : ?> <div class="mobileoverlay"> <div class="fullwidth"> <div class="mobilecontainer"> mobile content </div> <!-- /.mobilecontainer --> </div> <!-- /.fullwidth --> </div><!-- /.mobileoverlay --> <?php endif; ?>Forum: Plugins
In reply to: [PHP Browser Detection] Bad Gateway Errors using 3.1.3 on Firefox and IEForum: Plugins
In reply to: [PHP Browser Detection] Bad Gateway Errors using 3.1.3 on Firefox and IEThe 502 error is not related to our plugin specifically… It’s usually a memory issue or misconfiguration with nginx. If you do not have any specific steps we can take to duplicate the error, we cannot troubleshoot it. How much RAM does your nginx ghost have?
Forum: Plugins
In reply to: [PHP Browser Detection] Bad Gateway Errors using 3.1.3 on Firefox and IEWith nginx that’s definitely an out of memory error. However the issue shouldn’t matter between plugins versions… The changes in the latest version shouldn’t effect memory usage. If you have any more info that might help let us know.
Hmmm.. can you try this and let us know if it works?
replace:
<?php the_content(); ?>with:
<?php echo apply_filters('the_content', $wpus_results->post_content); ?>It looks like your PHP tags on the content and the tags are wrong:
<br><?php the_tags(); ?> <br><?php the_content(); ?>You are missing the “php” bits.
Forum: Plugins
In reply to: [PHP Browser Detection] Trouble getting browser versionGlad you figured the issue.