webdeveric
Forum Replies Created
-
Forum: Plugins
In reply to: [What Template Am I Using] Can't read section headsSteve,
I cannot see the issue since the sidebar is only shown to logged in users.Can you create an admin account for me and email the credentials to [email protected]?
Forum: Plugins
In reply to: [Recently Edited Content Widget] Can't find setting for OptionsThis is a know issue with WordPress and it looks like it will be fixed in the 4.4.1 release.
https://core.trac.ww.wp.xz.cn/ticket/34987
Until then, you can open the configuration panel with the query string as shown below.
wp-admin/?edit=recently-edited-content#recently-edited-content
Forum: Plugins
In reply to: [Recently Edited Content Widget] Can't find setting for OptionsFrank,
If you hover over the dashboard widget title, a configure link should show up in the right corner next to the up/down arrow.Forum: Plugins
In reply to: [Get Post Content Shortcode] Query Easy Digital Downloads?Anna,
The Get Post Content Shortcode plugin only works with posts.In the example you provided, 191 is the tag_id for your downloads taxonomy.
Any number you pass into the id attribute will be treated as the post_id you want to retrieve.
Forum: Plugins
In reply to: [Get Post Content Shortcode] Showing just excerptThis feature has been added.
Please update the plugin to the latest version.
Forum: Plugins
In reply to: [Get Post Content Shortcode] Showing just excerptHello,
I’ve added a “field” attribute to the shortcode.
You can now specify which field you’d like returned.
It will default to post_content if omitted.I have not updated the plugin yet on ww.wp.xz.cn.
The updated version is in a branch on Github.You can download it here: https://github.com/webdeveric/get-post-content-shortcode/archive/add-field-attr.zip
Please test it out and let me know if you encounter any issues.
Forum: Plugins
In reply to: [Get Post Content Shortcode] Suggestion: Only show content of published postsHello,
Sorry for the delay. I never received a notification that you posted.I took your suggestion and tweaked it a bit.
You can now specify a status attribute in the shortcode (it defaults to publish).Having the status attribute in the shortcode is useful for when someone registers their own custom statuses.
Please update the plugin to get the added functionality.
Forum: Plugins
In reply to: [What Template Am I Using] What template am i using Doesn't show detailsThis has been resovled via email.
This was an issue with a theme using an old version of jquery.Forum: Plugins
In reply to: [What Template Am I Using] What template am i using Doesn't show detailsCan you send me a screenshot of the sidebar expanded? Are there any error messages?
Correction: on my dev server with php 5.4 on it, my previous fix worked.
On a server with php 5.3.3, I had to use the following.$event['Description'] = htmlspecialchars( $event['Description'], ENT_IGNORE, 'UTF-8' );You will need to fix the event Description in the
get_event()andget_events()functionsI had an issue with the events not showing when using the
[constantcontactevents]shortcode.
I tracked the issue down to a serialization problem. The php array of the xml data from Constant Contact was truncated when it was saved to the cc_events transient.
It looked like some special characters, probably MS word quotes, was causing this issue.My problem went away when I added the following code to class.cc.php around line 1120, inside the get_events() class method.
$event['Description'] = htmlspecialchars( $event['Description'] );This is just a quick fix. It would be nice to sanitize the event description to only remove invalid characters.