You have misspelled the action hook name.
This:
add_action( 'after-setup_theme', 'ja_theme_setup' );
Should be:
add_action( 'after_setup_theme', 'ja_theme_setup' );
The full code:
add_action( 'after_setup_theme', 'ja_theme_setup' );
function ja_theme_setup() {
add_theme_support( 'post-thumbnails');
}
Related Posts:
- How can I configure Docker for developing and deploying a custom theme?
- Custom theme sufficient or custom plugin neccessary for this feature set?
- How to create custom home page via plugin?
- How Can I setup WP CLI on Windows development machine running AMPPS?
- WP_LOCALIZE_SCRIPT doesn’t work
- Are we allowed to use the Allman (BSD) indent style when coding WordPress plugins and themes?
- Customizer: widget-synced triggers twice
- WordPress not working on localhost
- Custom entity search and display
- Why in this archive page that call query_posts() function show only the last 10 posts?
- How to replace settings in WordPress plugin from a theme
- How to remove/replace current page template?
- Setting a post’s category
- Want to know how to reveal a WordPress theme, considering the theme name is hidden?
- Metabox types list
- Rate limiting ajax requests in WordPress
- Determine if the current page, is being edited
- Managing Custom Designed Content
- Best practice: What belongs in theme and what in plugin for large eCommerce website
- Adding class to the parent of current-post-ancestor / current-menu-parent / current-post-parent
- Is Explicit Versioning a better alternative to Semantic Versioning for wordpress?
- Is there any other ways to replicating changes on live from staging without pushing from git
- Autoloading & Namespaces in WordPress Plugins & Themes: Can it Work?
- What process do you use for WordPress development? [closed]
- What is the advantage of using wp_mail?
- In Which Contexts are Plugins Responsible for Data Validation/Sanitization?
- Plugin Form Submission Best Practice
- Should Plugin Folders Include a Blank index.php File?
- Best way to abort plugin in case of insufficient PHP version?
- Where to put third party PHP library?
- How to integrate a PHP webmail script into the backend of WordPress?
- Should I create a theme or a plugin?
- Where do I start from
- WP 3.3 Tooltips API?
- How to log plugin errors to plugin error_log file
- Which to use to execute code during the saving of a plugin settings page?
- wp_remote_get doesn’t work with secure connections https?
- Authoritative answer on which boots first – Plugins or Themes?
- How to Add Font Awesome Icons to WordPress Menus?
- Adding callback function for wp_ajax_ has no effect
- How to load a new template page according to a particular URL?
- What is better way to use Bootstrap inside admin panel?
- Whats the difference between blog_info(‘stylesheet_url’) difference get_stylesheet_uri()
- How to check if a stylesheet is already loaded?
- Is Dreamweaver CS5 a serious choice for theme/plugin development?
- What allows a template file from plugin to be copied in child theme and overridden?
- How to deal with equal & similar arguments for a function?
- WordPress add_admin_page not working even parameters are correct?
- Disable The Events Calendar plugin from loading its scripts
- How to use get_theme_mod in gutenberg editor wordpress?
- Custom Taxonomy to dropdown box on adminside wordpress
- How to modify the comments to be displayed in a post?
- Extending theme PHP class in plugin
- How to access noticeOperations from withNotices
- what is the difference between these phares?
- Password field is empty when using wp_signon();
- Strange Situation When Try To Retrieve Github Gist Using wp_remote_get
- How to hide or rename “X” and “x-child” references in website source?
- Widget HTML Display Problem
- wp_nonce_field displaying twice
- Redirect to another page using contact form 7? [closed]
- How to obtain the current website URL in my theme?
- WP Plugin Running before jQuery
- How to only load css for used blocks on frontend
- Show message from backend
- my own SVN for a plugin/theme
- PHP File_exist() not working – Checking if File Exist in WordPress Theme Directory
- Invalid hook call on save, not edit when using swiper slider
- Using HTML links within translatable string
- How to get terms for taxonomy
- WordPress Page Reload Takes forever during theme development
- Adjust query on single
- Using password protection to load different page elements?
- Anyone using unzip_file successfully? It uploads the zip but doesn’t extract it!
- How to determine which capability to use?
- How do I add filter with woocommerce categories?
- How can we stop showing short code in create or edit post section
- Error Connecting to Database WHEN Installing WordPress on XAMPP [Tried All the Usual Stuff] (Pics Included)
- How can I measure CPU and RAM used by my theme or plugin
- set a custom post type to a taxonomy term programmatically in metabox
- My enqueue admin style function doesn’t work because of ?=ver
- external Integration with wordpress timeout error
- How to embed or integrated a custom WordPress Widget into the theme?
- Making adding info to an overlay bio easy for average user?
- Implementing Select2 plugin into WordPress
- Why the output of an image gallery plugin is not displayed into a page of my custom theme?
- To remove rendering of menus and header, plugin or theme?
- Can I access WordPress API’s from within plugin scripts?
- How can I add recent posts to menu like mashable
- Is there a general way to get a themes primary colour?
- Link to a admin submenu item using a custom link
- Change the search results header from plugin
- How to Register/Link to .js Files in WordPress Dynamicaly in Header.php
- Developing Themes on WordPress, Looking for Excellent Tutorials [closed]
- Best Way to Inventory the Media Library of a 200+ Multisite Installation?
- Loading jQuery library from WordPress admin
- Using tag or inline style attribute?
- how to insert content into wp_head after loop_end
- Extend WP_List_Table class – Edit wp_usermeta – WPPB.me Boilerplate – Action error
- Developing an IP lookup function using an API