Angela Bowman
Forum Replies Created
-
The problem is the:
echo do_shortcode($content);
line in the Custom Post Widget. This conflicts with the do_shortcode in the Shopp plugin and probably in the Events Manager as well. So, instead of getting the shortcode defined in the Custom Posts Widget, the Shopp plugin or Events Manager plugin’s shortcode for the sidebar is used instead (not pretty).
Hi all,
I am having the same conflict between the plugin Custom Post Widget and the Shopp plugin. Since this is exactly the same duplicate content in the sidebar issue that Waking Media and Jonah Coyote is having with the Events Manager, my suspicion is that it is caused by the Custom Post Widget plugin.
I’m looking into the widget code. I’m suspecting the query code is wrong in the Custom Post Widget resulting in the query getting the Shopp products rather than the custom content of the widget post. Would be nice for the developer of the Custom Post Widget to re-examine their query code. The same issues occurs with the Widget Entries widget as well, which has the same functionality as the Custom Post Widget.
How I usually do this is to create a new Widget Area in the functions.php and call for that widget area in the PHP template and just add the Widget Entries widget to the widget area under Appearance > Widgets. This makes it easier to swap out different widgets or Widget Entries widgets without having to go edit the PHP template file if the user decides to use something different in that area.
Here is a very simple tutorial on how to do this:
Got fixed code, but Event Title link redirects to venue page on some events. Perhaps because apostrophe originally in title. Very strange. Apostrophe is not in the slug. On mouseover, the title link is correct but for some reason is redirecting to venue.