If you follow the guidelines of the Codex for Themes (start here: https://codex.wordpress.org/Theme_Development ), and ensure that any user-supplied input (if any) is sanitized, then a theme will be secure.
This also assumes that you have done basic security on your install. For instance:
- strong passwords on all accounts
- create an admin account without the ‘admin’ name
- take the first user account and demote it to subscriber (not an admin)
- strong passwords for your hosting account
- strong passwords for any FTP users on your hosting account
- keeping all plugins current/updated
- updating WordPress to current levels
- use latest PHP version on your site
Then your site will be less susceptible to attack. You’ll also find lots of security guidelines via the googles. Look at them carefully and apply those that are needed.
Related Posts:
- What are nulled themes?
- Extra themes – ok or bad?
- Is that a malicious code?
- WP Snippet to Hide Theme Editor In Dashboard Only Works On LocalHost Site
- Is there significant risk in not keeping a theme updated? [closed]
- How to display post meta data in secure manner
- Load all files from folder in theme – Security concerns?
- hardened wordpress linux install
- suspicious boolean.php file in wp web root [closed]
- What Are Security Best Practices for WordPress Plugins and Themes? [closed]
- how to add version of style.css in wordpress
- What is the role and history of the $content_width global variable?
- Add a page outside of the current theme?
- How to create a live demo page for a theme? [closed]
- Is it possible to stop a theme activation when a certain plugin is not activated
- add image size still doesn’t work even after regenerating thumbnails
- Using chunk theme from wordpress.com on my own host
- What is the first file wordpress looks at in a theme?
- Duplicate and change a Theme Widget
- Best location for theme translation files
- Two Navigation Menus in Themes Produce the same menus?
- How can I customize the search results in Bones theme?
- How to develop a theme while having another show up
- When does WordPress wrap inline scripts in CDATA?
- Being asked to update a theme that I don’t have
- I want to run different WordPress websites under the same database
- Using a _GET gives me a debug error (over my head)
- Switch to other theme at URL
- How to go about pre generating css file with variables from theme options
- How to load a different theme for categories?
- How can I create an “excerpt” with text that won’t be displayed in the post itself?
- Possible to put header-{your_custom_template}.php in subdirectory?
- How to change sidebar per page?
- Add a series of checkboxes to theme options
- WordPress Theme Development Seemingly Awful Partitioning of Includes?
- Hide default “Recent Comments” Widget if there are no comments yet
- Theme Check warning wrong direcory for theme
- Static page not working
- How do I change the scan depth for page template files?
- Error defining a gutenberg block in a theme
- Apache errors when retrieving taxonomies
- Looking for a fully customisable WP responsive theme to develop a small scale fiverr type site for voice artists [closed]
- Page dissapears when i click save
- Can’t resize logo in responsive theme?
- How to display message (with switch_theme hook) after deactivating My theme?
- Is wordpress big enough for my project [closed]
- Using twitter bootstrap in a theme
- Featured images, am I missing something?
- How to get theme screenshot
- Theme doesn’t support shortcodes
- Define theme information other than through style.css
- Change avatar on themed profile page
- Trying to uninstall a theme, but it’s hijacking my home page
- Basic Theme for a Static Corporate Website?
- Theme folder doesnt exist
- WordPress activate theme error $pagenow
- Increase content area width in TwentyFourteen [closed]
- Undefined variable error in theme option after updating theme [closed]
- Comments not displaying after changing theme
- Theme Translation?
- How do I allow certain users to make a certain type of post?
- Two column layout in WordPress?
- List of categories instead of dropdown menu selector in admin options
- WordPress doesn’t recognise created theme
- Query for all themes?
- How can I show some standard html code across any theme I install?
- Losing theme customization when switching from a theme to a child
- Problem of not changing the front and bottom of the Woodmart template by activating the really simple ssl pro plugin in WordPress
- Please help me clear my confusions about WordPress
- Why does an ad page open when I browse my websites’s wp-admin page?
- What is the correct way to set up a staging server and use github for version control?
- How do I use the default style for widget?
- WordPress fails to embed video URL on specific theme
- Unable to set social icons using Advance Portfolio Theme
- How can I theme or style the lost password page without a plugin?
- Dynamic image for Jumbotron on WordPress Custom Theme
- How to implement theme option to change bootstrap 4 container from .container to .container-fluid
- how make wp include urls as https?
- how to costume title single page
- use a Thumbnail size in post
- Why does WordPress Editor Only Use Half the Box?
- 500 Internal Errors
- Installing Theme from uploaded file. Not uploaded theme?
- Where can I find a theme that has a big banner
- Strange Theme Error – parent style occasionally showing though child theme
- WordPress theme not updating in Other browsers
- WP-CLI wp theme install url PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature
- Site broken after deleting inactive themes [closed]
- Can i add wordpress editor to my custom theme option? [closed]
- Where do URI files come from?
- Converting HTML5 to XHTML
- Best way to include pagination in a theme [closed]
- What happens to bespoke page template references on theme change?
- Stylesheet not being loaded? [closed]
- How to change the standard width of a page
- Where can I decide the number of posts to display on the blog index page?
- I need to disable responsive feature of a theme called Meet GavernWP [closed]
- register_nav_menus syntax error, unexpected identifier “register_nav_menus” in
- RTL in posts only [closed]
- Blocking Google Fonts in wordpress website