frobfoo
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Advertising Associate] Random amazon links missingHey Matthew,
thanks for your helpful plugin!
Unfortunately, we are experiencing the same problems as reported above on our site.
To me, it seems to be pretty random which product links are broken and which work as expected.
For example, on this page, the image is correctly linked to the Amazon product page, but the button, which should appear at the bottom of the page, is not rendered at all.
http://caniget.it/yesyoucan/ventilator-furs-iphone/
You can find the post’s editor content here.
Thanks and greets!
Forum: Plugins
In reply to: [Facebook] Facebook Plugin Broke Page PaginationBUMP!
No help on this!? :-/
Any hint on how to debug that?
Forum: Plugins
In reply to: [Facebook] Facebook Plugin Broke Page PaginationI just want to chime in and report that I have the same problem: When the Facebook plugin is enabled, pagination of the home page does not work because the request gets redirected to the canonical URL. When the plugin is disabled, pagination works as expected.
Reproduced it on a local test system and used the “Debug wp_redirect” plugin to show where the redirection happens:
Calling
http://<IP>/page/2in the browser redirects tohttp://<IP>Debug WP Redirect Location: http://192.168.2.200/ Status: 301 Backtrace: Function: redirect_canonical Arguments: array(1) { [0]=> &string(0) "" } File: /var/www/sokrates/htdocs/wp-includes/plugin.php Line: #403 Function: call_user_func_array Arguments: array(2) { [0]=> &string(18) "redirect_canonical" [1]=> &array(1) { [0]=> string(0) "" } } File: /var/www/sokrates/htdocs/wp-includes/template-loader.php Line: #7 Function: do_action Arguments: array(1) { [0]=> &string(17) "template_redirect" } File: /var/www/sokrates/htdocs/wp-blog-header.php Line: #16 Function: require_once Arguments: array(1) { [0]=> string(56) "/var/www/sokrates/htdocs/wp-includes/template-loader.php" } File: /var/www/sokrates/htdocs/index.php Line: #17 Function: require Arguments: array(1) { [0]=> string(43) "/var/www/sokrates/htdocs/wp-blog-header.php" }The theme I use is called “Gridlocked“. This seems to be the relevant part in the template:
<?php if ( get_query_var('paged') ) { $paged = get_query_var('paged'); } elseif ( get_query_var('page') ) { $paged = get_query_var('page'); } else { $paged = 1; } query_posts( array( 'post_type' => 'portfolio', 'paged' => $paged) ); ?>Any hints on how to solve that problem? On my live site (http://caniget.it), I currently “solved” this by increasing the number of entries that are shown on the home page to avoid pagination at all…