m@
Forum Replies Created
-
PF
See my post near the bottom of this thread:
This sounds like the same issue you are having. I remedied this by modifying line 644 of marketpress.php
from:
'rewrite' => array('slug' => $settings['slugs']['store'] . '/' . $settings['slugs']['products']), // Permalinks format
to:
'rewrite' => array('slug' => $settings['slugs']['store'] . '/' . $settings['slugs']['products'], 'with_front' => false), // Permalinks formathope that helps.
-m@
after tinkering a bit I resolved my second issue.
I was calling mp_is_shop_page() in the wrong place, before is_shop_page was defined as true.
Been playing with the plugin this week. So far I really like.
However, I have encountered 2 small issues.
1. The product custom post type is setup to use the default “with_front” setting of true. As a result all products are appended with the “/blog” front end resulting in:
localhost/blog/shop/products/test-product/
instead of
localhost/shop/products/test-product/I have temporarily remedied this by modifying line 644 of marketpress.php
from:
'rewrite' => array('slug' => $settings['slugs']['store'] . '/' . $settings['slugs']['products']), // Permalinks format
to:
'rewrite' => array('slug' => $settings['slugs']['store'] . '/' . $settings['slugs']['products'], 'with_front' => false), // Permalinks formatThe ability to select true or false in the Marketpress settings would be ideal.
2. I am unable to get accurate results from mp_is_shop_page(). It seems to return false everytime.
I have dumped the $mp object for observation and it always appears to be false. I am attempting to only show the shopping cart widget on shop page and not on content or blog pages.
I am currently working on an offine site so I have not links to share.
running wp 3.1.3 and MarketPress Lite 2.1.1
thanks
-m@
Forum: Plugins
In reply to: [Plugin: WYSIWYG Text Widget] Cann’t edit widget contentI’m having the same issue.