For best pratices please see the WordPress coding standards, to be found in the Core Contributor Handbook.

learn more… | top users | synonyms

0
votes
2answers
534 views

(Beginner) Need help installing Wordpress on my VPS (Virtual Private Server)

Introduction: (I will remove this later of course) Hi. I think it would be smart for me to ask the professionals how I can best install WordPress on my VPS so that I don't run into problems with my ...
0
votes
1answer
11 views

Should I paste CDN links in a JS file or use a Bootstrap CDN plugin?

I'm new to WP development and I don't have the experience to know if I should place CDN links in a JS file and enqueue it or use a nifty plugin such as this one. What is best practice? What should I ...
0
votes
1answer
66 views

If I want social media icons that link to my site's corresponding accounts, is that better to do with a plugin, or manually?

I feel like it's simple enough that coding it in would be beneficial, but I'm not sure.
-1
votes
1answer
34 views

Best practice to create required pages

Some times, when we work on custom wordpress themes, we need required pages. For example - custom login page. Some times, when user change slug, page template or something else - it a very difficult ...
1
vote
0answers
69 views

Best Practices for a Completely Customizable Homepage - without plugins

Let's say you have a homepage where you want to be able to feature 10 posts of various types (posts, pages, and Custom Post Types). You have hundreds of these posts to choose from. What would be the ...
0
votes
0answers
15 views

Registering an optional custom post type from a plugin

I see the codex notes to call flush_rewrite_rules() on plugin activation and deactivation when registering a custom post type from a plugin but I'm looking for the best practice if a plugin gives ...
0
votes
0answers
17 views

Strategies for a plugin to support CDN-enabled WordPress sites

I'm writing a plugin to manage favicons. Basically it: Store image files under wp-content/upload. Inject HTML in page headers with the URL of the images. I would like to support WordPress sites ...
0
votes
0answers
37 views

Best practice: What belongs in theme and what in plugin for large eCommerce website

I am about to create a large custom eCommerce website that does not fit within WooCommerce. (Most of the times I use WooCommerce for eCommerce.) It has also a completely custom design. However I know ...
0
votes
0answers
29 views

Trouble Dynamically Generating XML

I am trying to dynamically build a krpano viewer, the XML is output through a function where I grab stuff like hotspots from the database. I am trying to output the XML from a function, but since I am ...
0
votes
0answers
27 views

Potential problems with building a plugin having sub modules?

I'm in the process of organizing a lot of different functionality that I had historically written as parts of themes so that I can break the various utilities into plugins. At this point, I have my ...
0
votes
0answers
26 views

Best practices for using plugin source in multiple projects with tortoise

Today I uploaded my first two plugins to WordPress. I use these plugins in most of the websites I develop. I am using NetBeans on my desktop. I am trying to figure out how to best use Tortoise SVN to ...
0
votes
0answers
53 views

“Static” pages within a theme

What I want to achieve is to add vCards to my contact pages, created on the fly and downloadable. I guess I could make a very bare template with the functionality and the correct mime-settings to the ...