sgronjaer
Forum Replies Created
-
Forum: Plugins
In reply to: [W3 Total Cache] wordpress 3.9.2 minify issuesLooking closer into, this is an example of what is happening:
my minify manual settings is set to load contact form 7’s css in the contact page only.
after upgrade to wp 3.9.2 contact form 7 css is loading in the index page separately from the minified&combined css. (2 css files in total)
where as in the contact page only 1 css file appears, the minified&combined version.
Hi, super chache does not empty its cache once a twitter feed is updated.
you would have to set supercache so that it reguarlary re-loads your cache.
Forum: Plugins
In reply to: [Twitter Widget Pro] Adding other people's tweetsHi,
First of all, a big thank you to the developer(s) of this wonderful plugin.
I am wondering whether there is there a way to add a list via shortcode?
Any help would be greatly appreciated.
After some more tests, I am finding that this is the problem when the user tries to sign up for a membership that is free.
Paypal Standard + $0 membership = problem.
Any suggestions would be appreciated.
Forum: Installing WordPress
In reply to: 404 Page 2 wordpress 3.4no settings in the theme for the number of posts.
I will contact the themes support team.the them i am using is the escort theme from
https://www.bangthemes.com/They do have a new version. Will contact them and check if the new version will solve the problem.
Anyways, thank you for your time.
Forum: Installing WordPress
In reply to: 404 Page 2 wordpress 3.4Thank you for your help.
I was able to solve the problem by adding this code to the functions file:function my_query_for_homepage( $query ) { if( $query->is_main_query() && $query->is_home() ) { $query->set( 'post_type', array( 'type_i_want_diplayed' ) ); } } add_action( 'pre_get_posts', 'my_query_for_homepage' );
This is what was in my theme index file:
<?php $type = 'girls'; $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $args=array( 'post_type' => $type, 'post_status' => 'publish', 'paged' => $paged, //'posts_per_page' => 1, 'caller_get_posts'=> 1 ); $temp = $wp_query; // assign original query to temp variable for later use $wp_query = null; $wp_query = new WP_Query(); $wp_query->query($args); ?>
Apparently, the theme is not coded so well because it is creating a new query rather than modifying the query.
Forum: Installing WordPress
In reply to: 404 Page 2 wordpress 3.4I solved the problem by adding the code below to my functions.php file in my theme folder
function my_query_for_homepage( $query ) { if( $query->is_main_query() && $query->is_home() ) { $query->set( 'post_type', array( 'type_i_want_diplayed' ) ); } } add_action( 'pre_get_posts', 'my_query_for_homepage' );
I assume this a theme related problem.