webdeveric
Forum Replies Created
-
Forum: Reviews
In reply to: [What Template Am I Using] Very useful plugin, but…@pierre1960 I’ve never experienced that. How many other active plugins do you have?
I just tried this plugin along with the current WP using the default 2019 theme and there was no delay.
If you have Docker installed, you can see for yourself using my wp-starter repo.
Forum: Reviews
In reply to: [What Template Am I Using] Excellent in WP 4.8.2I’m glad you like it.
I should probably bump the “Tested up to” version in the readme.
Forum: Plugins
In reply to: [Recently Edited Content Widget] Not showing upThis is a dashboard widget, not a widget you can place in your theme sidebars.
Forum: Plugins
In reply to: [Clean Media Library File Names] doesnt work on multisite?This plugin works when using multisite.
Forum: Plugins
In reply to: [Get Post Content Shortcode] Get the title of current postBenjamin,
When using your[gettitle]shortcode within[post-content]the behavior you’re seeing is intentional.To get what you want, the
[gettitle]shortcode needs to be updated to look for the outer mostpost_id.I’ve made a replacement shortcode that should do what you want.
https://github.com/webdeveric/get-title-shortcode
Let me know if that works for you.
Eric
Forum: Plugins
In reply to: [What Template Am I Using] Not seeing the sidebarThe sidebar content is displayed using wp_footer(). Make sure your theme has that before the closing body tag.
You should validate your html. I noticed some issues that may cause things to not render correctly.
Forum: Plugins
In reply to: [What Template Am I Using] Not seeing the sidebarWhat happens when you activate it? Are there any error messages?
The sidebar should appear on the right side of the screen when viewing your site (not the admin).
If it does not, can you check your user profile and see if the show sidebar checkbox is checked?
Forum: Plugins
In reply to: [Clean Media Library File Names] What happens to links to those images?This plugin only modifies the file name during upload.
It does not alter image src or anchor href in the post editor.Forum: Plugins
In reply to: [Get Post Content Shortcode] Not compatible with Avavda fusion builderSince it is edited from an Avada screen, there could be any number of ways the content could be stored or manipulated.
Is there any way you can share the theme code?
Do you have a staging site where I can get an admin user account?Please do not post any private info in this thread.
Please use email for that. [email protected]Eric
Forum: Plugins
In reply to: [Get Post Content Shortcode] Not compatible with Avavda fusion builderJust to clarify, is the content for post 2 edited from the normal posts edit screen or is it handled by an Avada admin page?
Forum: Plugins
In reply to: [Get Post Content Shortcode] Not compatible with Avavda fusion builderHi,
I’ve not used that theme builder before and since its a paid theme, I don’t have access the the source code for debugging. I’ll help out where I can. I just need a little more information.- What version of Avada are you using?
- Is post 2 published?
- What is the content for post 2?
- Do you get any output from using
[post-content id=2]or is it blank?
Eric
Forum: Plugins
In reply to: [Get Post Content Shortcode] Autop, and do_shortcode?Gulliver,
I’ve added a filter to this plugin that will allow you to set the default values of the shortcode attributes (
autop,shortcode, etc.).From,
EricForum: Plugins
In reply to: [Meta Fetcher] how to put the meta shortcode in a href linkKayshah,
This is a quotes problem. In the example you provided, you are using double quotes in the shortcode that is within the
href, which is also using double quotes.Please change the shortcode to use single quotes.
If the meta name does not have spaces, you can also omit the quotes in the shortcode.Valid examples:
href="[meta name='testlink']"href="[meta name=testlink]"From,
EricForum: Plugins
In reply to: [Get Post Content Shortcode] Autop, and do_shortcode?Gulliver,
This shortcode calls
wpautop()if theautopattribute is true.
And since the default value of theautopattribute is true, you need to specifyautop=falsein order to not callwpautop()on the content.If the post content you want to retrieve has a shortcode in it, setting
shortcode=truewill run do_shortcode() on the content.
This is the default behavior and if this is what you want, you can omit this attribute when using the shortcode.Setting
shortcode=falsewill skip usingdo_shortcode()and will return the raw content, which may include unprocessed shortcodes.From,
EricForum: Plugins
In reply to: [Get Post Content Shortcode] How to format post_dateHello,
The simplest solution I came up with is to use another shortcode to format the output from
[post-content id="1234" field="post_date"]It is available on Github:
https://github.com/webdeveric/date-format-shortcode
The example usage section of the readme shows how to use this shortcode with the post-content shortcode.
From,
Eric