Jamie
Forum Replies Created
-
Forum: Plugins
In reply to: [PHP Code for posts] Conflict with WP TouchHi Vlado,
It looks like the error is in your snippet, the function last_post is not referenced anywhere in the plugin’s code.
Thanks,
TMCHi Mehulsolanki,
How are you adding the code to the page, using snippets, or inline php?
TMC
Forum: Plugins
In reply to: [PHP Code for posts] how do I create snippets?Hi Guys,
You can make snippets though the plugin’s options page.
This wasn’t documented as during the initial testing it was assumed it was not needed.
TMC
Forum: Plugins
In reply to: [PHP Code for posts] No Longer Working! – Page Not Found ErrorHi Ntjedge,
I have been testing with the latest WP and the latest version of the plugin and I still cannot replicate the issue.
The snippet I’m using is
!"£$%^&*()€éúíóáQWET{}:@~<>?,./;'#[]-=_+¬¦\|`Are you able to tell me the exact snippet you are using?
TMC
Forum: Plugins
In reply to: [PHP Code for posts] No Longer Working! – Page Not Found ErrorHi,
I have just tested and it still worked with over 250 snippets on the latest version of WordPress.
Has anything changed on your server lately that could have caused the issue?
TMC
Forum: Plugins
In reply to: [PHP Code for posts] Please HelpHi AnnMarie,
1) The php code appears in the emails that are sent to my subscribers and when shared to social media, is there a way to fix that? I don’t recall this happening until recently.
What is the shortcode you are using? are you using a snippet? or using it as
[php]//dosomething[/php]?2) The php links that I created for my ads in order to put them in posts and pages are no longer opening in a new window. I know that they used to work properly, but now they aren’t. I am not sure how to trouble shoot this, but the HTML code seems to work just fine.
This appears to be more of a html issue. what is the html code that you are using for your links?
If you prefer you can email me at the.missing.code [at] gmail [dot] com with your answers.
Forum: Plugins
In reply to: [PHP Code for posts] Links Not Opening in New WindowHi AnnMarie,
This looks to be more of a html issue rather than a php issue.
assuming that you are using the plugin to generate a html link, you should check that the html link opens in a new window using the
target='_blank'attribute.I hope this helps.
Thanks,
TMCForum: Plugins
In reply to: [PHP Code for posts] PHP Code shows up when Post is SharedHi Guys,
Sorry for not replying, this one appears to have missed me.
With regards to the code appearing with the share, it appears to possibly be an issue with the theme/share plugin.
The plugin evaluates the PHP code when the shortcode is called, and returns the result to your post.
I purposely didn’t add in-post php because of issues like it appearing in none-shortcoded areas.
Snippets all the way 🙂
Forum: Plugins
In reply to: [PHP Code for posts] php connect to external database errorHi Trailweb,
the error suggests the function has not been defined. try including the file the function exists in.
Forum: Plugins
In reply to: [PHP Code for posts] Page Not FoundSadly, i have not been able to recreate the issue. do your server error logs show anything?
Forum: Plugins
In reply to: [PHP Code for posts] Page Not FoundIs the preg_replace issue within the addition or display of the code?
In my test i was able to add a snippet within the menu and successfully display it on a page using the shortcode, this is indeed a very strange problem
Forum: Plugins
In reply to: [PHP Code for posts] How to add php code?Hi Taobo,
all you need to do is enable shortcodes in the theme location.
Take a look at this for more info: http://codex.wordpress.org/Function_Reference/do_shortcode
Thanks,
TMCForum: Reviews
In reply to: [PHP Code for posts] PerfectA fix for this issue has since been released 🙂
As of version 1.1.3 it should no longer happen.
Forum: Plugins
In reply to: [PHP Code for posts] Page Not FoundHi Bauzer,
I have tested every combination and cannot recreate your issue.
Please can you provide more information
Forum: Plugins
In reply to: [PHP Code for posts] How to add php code?Hi Taobo,
If you see the shortcode outputted instead of the php code, it is likely the location does not support shortcodes in your theme. do other shortcodes work in the same location?