Maybe you should copy plugin from theme folder to plugin directory and activate it.
EDIT: I’m sorry. I misunderstand you.
I want to have that field optional
It’s needed to change theme php code. The task will be easier if you publish this code.
I guess there is registered save_post
hook in the theme code. And this hook checks if image is present. But I can’t give fine answer because I don’t know what is really written in your theme code.
Related Posts:
- Run plugins only on certain pages
- wordpress content .php file in an iframe’s src in a wordpress post
- How to detect WP plugins used on a site
- Using WordPress as a CMS: Developer preferences for custom vs existing plugins
- Login with OpenID, similar to Stack Exchange sites?
- Preserve custom URL parameter on more pages
- Why do I get this “plugin does not have a valid header” error?
- WordPress Capabilities: edit_user vs edit_users
- Passing .pem and .key files in cURL doesn’t work in WordPress
- Is there a limit on the size of a WP page?
- A Blog’s changelog
- Adding a widget programmatically
- How to restrict Front-End Editor on a page?
- How do I create a custom wordpress slideshow plugin?
- Updating a WordPress plugins breaks SVN
- Sidebar Generator issue [closed]
- Template plugin for blog posts? [closed]
- How to load default scripts included with WordPress correctly?
- Skip file when plugin updated
- Are contributed plugin translations automatically installed in WordPress?
- Why would WP-CLI and WP Admin show different list of plugins with updates?
- Use WordPress with a custom OAuth2 provider
- Translating plugin inside the theme [closed]
- Admin Dashboard with Custom Tab for Client
- reorder plugin menu position
- How can I serve a text file at a custom URL
- How to add custom link to menu in wordpress programmatically?
- How to send little data between admin pages of my plugin?
- How to activate plugins for my WordPress sites from a remote server
- Register script in one plugin, and enqueue it in another
- how to load the language file in plugin?
- Getting a List of Categories for Use in a Plugin?
- UnWanted Custom field added in the wp page edit area
- WordPress download manager plugin showing attached file is missing/deleted?
- How to get all of the activate_plugin action parameters?
- Display update notification messages like ‘What’s New’
- Gutenberg block can’t save richtext
- What can be reason for no plugin-strings available under stable section on translate.wordpress.org?
- WP_Terms_List_Table Quick Edit not working
- Is there a directory my plugin can write files to that cannot be viewed via the browser/url?
- How to exclude certain files from the plugin editor?
- file-gallery plugin line 1573 broken in 4.2 upgrade [closed]
- How do I use wp_editor() in widget form?
- How to create an option page for this simple plugin
- Errors when trying to use a plugin to write to the database
- _prime_post_caches in wordpress
- Can some vulnerabilities in plugins be exploited even when the plugin is inactive?
- Plugin settings won’t save changes
- how to prevent all css and javascripts files from loading
- Best way to count visitors?
- WPTouch – how to remove shortcodes or make shortcodes function
- Adding class to last list item? Not WP generated
- Trying to add a page template for my custom post type from a plugin, but it will not display in the template dropdown unless file is in theme
- Custom shortcode for displaying user based on a role parameter
- How to execute plugin and theme updates from a web hook / endpoint?
- WordPress Plugin Insert Html Code with Shortcode
- WordPress gtag.js with User ID tracking
- trigger email when post is published by someone a user follows
- WP Rest API and json_decode()
- Disable submit button order
- WP-API Custom Post Type json_no_route
- Install old version of plugin from admin panel?
- insert an html tag using php plugin
- Extend a plugin to include a widget option
- Can we give Pending as a Role to wp_insert_user?
- Is the Block Bad Queries Plugin Still Relevant?
- Rename Smart YouTube’s httpv back to http for all posts
- Custom page from wp admin area
- Create category for each user
- Avada Live is broken on WP
- how to display data from user panel using cmb2 metabox?
- How page with random php file with query params generated
- location lock wordpress website
- New Plugin Info request
- WooCommerce Product Table – filter query on attributes
- Why does plugin_url append absolute file path?
- Disable WC Bookings automatic order completion [closed]
- PDF Viewer Origin is Different
- WordPress Sumo Plugin not showing all images on clicking pinterest icon
- Insert Google Maps HTML in WordPress
- WP nonce verification
- Enable a Coming Soon Page while the rest of the site is accessible
- Call to undefined function add_action() in plugin
- Created wordpress using quick install on Hostgator but unable to access the URLS
- How to Display image from Menu Image in Walker Dropdown Select Menu
- How to add separator between default and custom panels in WordPress customizer?
- How to replace native comment_count with Comments Evolved aggregate count
- Having trouble going from Jfiddle to implementing in WordPress :(
- Buddypress Member list not showing admin and mods
- Shortcode in a blog post, footer and related products stop working
- SVN problem – commit taking forever to fix incomplete prior commit
- Editing a built plugin: How to activate it only on a single post page
- Holding 2 wp_user in the same action (to update billing_email when user_email is updated)
- Strange get_the_* behavior with php 5.4
- How to set-up multiple cron task with wp_schedule_event so that they do not overlap?
- How to get the real address from a url (permalink)
- 404 Page when emptying spam or deleting a plugin
- File permissions for wp-minify plugin
- How to declare this function correctly?
- Plugin version number after code rewrite [closed]