Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/wpdew/_smodule/archive/refs/heads/main.zipReadme
_smodule
Hi. I'm a starter module called _smodule. Instead try turning me into the next, most awesome, WordPress module out there. That's what I'm here for.
Getting Started
If you want to keep it simple, head over to http://wpdew.ru/ and generate your _smodule based module from there. You just input the name of the module you want to create, click the "Generate" button, and you get your ready-to-awesomize starter module.
If you want to set things up manually, download _smodule from GitHub. The first thing you want to do is copy the _smodule directory and change the name to something else (like, say, megatherium-is-awesome), and then you'll need to do a five-step find and replace on the name in all the templates.
- Search for
'_s'(inside single quotations) to capture the text domain. - Search for
_s_to capture all the function names. - Search for
Text Domain: _sinstyle.css. - Search for
_s(with a space before it) to capture DocBlocks. - Search for
_s-to capture prefixed handles.
OR
- Search for:
'_s'and replace with:'megatherium-is-awesome' - Search for:
_s_and replace with:megatherium_is_awesome_ - Search for:
Text Domain: _sand replace with:Text Domain: megatherium-is-awesomeinstyle.css. - Search for:
_sand replace with:Megatherium_is_Awesome - Search for:
_s-and replace with:megatherium-is-awesome-
Then, update the rename _s.pot from languages folder to use the module's slug. Next, update or delete this readme.
Now you're ready to go! The next step is easy to say, but harder to do: make an awesome WordPress module. :)
Good luck!