Does WordPress being under GPL actually necessitate that the tools created for it (plugins, themes) must also be under GPL? Is so, then why? [closed]

The official WP line is that if you want to share sell or distribute your plugin/theme, then the PHP code must be GPL compatible. This is because GPL is a copyleft licence. The WP project, maintainers, and governance follow the same interpretation of this that the FSF and others do, the same interpretation being used … Read more

How to Pass ID through Short Code

Your short code function receives the attributes as the first argument: function shortcode_function( $attributes ) { Here $attributes is an array, and the attributes/values are inside that variable, e.g. for [my-shortcode abc=”123″ xyz=”789″]: echo $attributes[‘abc’]; // prints 123 echo $attributes[‘xyz’]; // prints 789 You should also provide defaults and an opportunity to filter: $attributes = … Read more

Access the article edit page from the web address bar?

On the browser, from the address bar, what syntax, prefix, and suffix do I need to add to the above online link, to be able to access this post edit page (I have admin rights). None, no such prefixes/suffixes/additions exist. It’s not possible out of the box to do this. To do this you would … Read more

Anyone Can Register

It simply allows the general public to create a new WordPress user. Whether or not they can see other user’s user information depends on the default role assigned to new users and any capabilities assigned. Unless you change the default role setting, new users will be assigned the Subscriber role which only has the read … Read more

Stop underlining image links

By definition it isn’t really hyperlinked image. It is hyperlink tag a that contains image tag img. Most probably it is a link that is really underlined, image is just inside it. You need to create new CSS rule that matches your link with image and specifies no underline (it could also be border-bottom property … Read more

Can Shopp Commercial Plugin be hacked to display radio buttons instead of Dropdowns? [closed]

This example highlights the versatility of interface options you can create by using radio inputs to select a product variation rather than the default menus. This section of code could be used in place of the variations code block in either the product.php template file or the category.php template file (if you want variation inputs … Read more

Syndicate posts to another blog?

Take a look at the FeedWordPress plugin, I’ve used this on one client site to aggregate feeds from their other sites and republish the latest post from each site. The UI is a bit complex and unfriendly, but it does the job.

I don’t have permission to save the theme options I created myself?

You’re adding the menu page using the “administrator” role. Is the account you’re using an administrator? Note: 1) You should be using an appropriate capability, rather than a user role. Generally, the appropriate capability for editing Theme options is edit_theme_options. 2) There is a known bug with WordPress, in that currently, manage_options is required for … Read more