Difference between WordPress stand alone & through host gator

WordPress.com is just one of the companies that offers you specialized wordpress hosting. all companies that do that come with some restrictions or surprising pricing plans when you compare to “regular” hosting. Since those companies have their own specialized enviroment in which wordpress runs, which they rarely reveal the details of, it is hard to … Read more

Widget won’t work due to old JavaScript? Any ideas how to make it work? [closed]

From your site i can say that script is not being loaded because of wrong opening quote for script tag.Use ” instead of ” So <script src=”http://lookbook.nu/widget/profile.js?id=2303472&width=standard&align=left&stats_fans=1&fanbox=yes&hash=14575a9cd02fd36d2758e5db3cb92b5a”></script> Should be this <script src=”http://lookbook.nu/widget/profile.js?id=2303472&width=standard&align=left&stats_fans=1&fanbox=yes&hash=14575a9cd02fd36d2758e5db3cb92b5a”></script> Update: Add <script> $LB = jQuery; </script> before the other script tag. I mean before <script src=”http://lookbook.nu/widget/profile.js?id=2303472&width=standard&align=left&stats_fans=1&fanbox=yes&hash=14575a9cd02fd36d2758e5db3cb92b5a”></script>

Bank account number and Sort Code in a form [closed]

This sounds like bad news. There are many technical and legal hurdles involved in collecting bank info online. It is easy to mess up. All SSL does is protect information in transit between a browser (person filling the form) and the server. Once it gets to the server you need to handle it properly. If … Read more

Running a php code after User clicks a button? [closed]

You can wrap your code in a function and use a button to activate it. Create a button and assign a function to it’s onclick event: <span onlclick=”javaSubscribe();”>Subscribe</span> Now, make an AJAX request to your server after clicking the button: function javaSubscribe() { // We need the ID for user and tag. Let’s retrieve it … Read more

php snippets in html are being commented out

You don’t display anything in shorcode’s function, you just return what has to be displayed. Your code should be: function phpTest() { return ‘<p>some text</p>’; } add_shortcode(‘test’, ‘phpTest’); Update: if your function contains anything, which displays data, use it as follows: function phpTest() { ob_start(); // your code goes here return ob_get_clean(); } add_shortcode(‘test’, ‘phpTest’);

Is safe to use native WordPress comments system? [closed]

WordPress default settings are to allow anyone to comment as long as they leave a name and email. Emails aren’t verified, so you could use someone else’s email and gravatar and the comment would be published. Best practice is to verify the email address of the user making the comment. In WordPress core functionality, this … Read more

wordpress plugin noob situation

Rather than include an HTML file, include a PHP file instead. Then, at the top of your PHP file you can check to see if any data’s been submitted and process it before displaying the form. So instead of what you have, try: function show_hotel_dashboard(){ include ‘dashboard.php’; } Then on the page do things like: … Read more

Restrict users viewing post using age on database [closed]

There are probably a few ways to do this. The easiest way I can think of is to install Pods Framework. You can install it through the WordPress repository like you’d normally install a plugin, or through GitHub. Using Pods, you can extend the WordPress user database to add a birthday field. You can also … Read more