It is sometimes possible to edit theme files, including functions.php
, inside wp-admin. Many hosts and devs disable this feature since it can cause security issues as well as allow you to break the site. So if you can access the file via FTP, that’s generally the recommended method.
If you don’t see “Appearance > Editor” in your admin menu, either you don’t have permission to edit files (a role/capability issue), or else the feature has been disabled.
You can check your wp-config.php
file and see if it has been disabled here – if it has, you’ll see define('DISALLOW_FILE_EDIT', true);
. Though if you can access wp-config, you should also be able to access theme files. 🙂 If this is not the case, check with your host to see whether they have disabled file editing in the admin area and to find out whether they can enable it for your site.
Related Posts:
- Create WordPress User in backend, and automatically create a new post in Custom Post Type with user uame as the Title in the post
- update custom taxonomy custom fields
- Title and URL Error in Breadcrumb Navigation for Custom Post Types
- Check that a slug is present in the get_terms request
- Is there a way to use ‘publicly_queryable’ => false only on specific taxonomy term?
- Different number posts per page based on custom post type term id
- Pagination not working in custom post type. Help
- How to add specific terms in a custom post type?
- Assigning categories to custom post types via a front-end form; only works for native post type
- how to display author name in custom post type
- Default excerpt for parent of a custom post type
- Custom attachment function not working in v5.4.2?
- Limit custom post type to the authors only on front-end!
- Cannot display the_content() after removed WordPress 5’s auto embed feature (iframe & blockquote)
- Update main post with same category when creating custom post to update the modified date
- Urgent – WordPress keeps creating posts
- CPT tags not showing when editing post
- Move to trash custom post type post after ACF Date Picker date is older than today
- Attend event form with ajax
- From CPT Custom Loop into Shortcode?
- Create posts inside CPT post
- Persist meta box choices throughout all posts of same post type
- ACF field check value of field on all other articles
- How to get current post type?
- How to convert Post Object Custom Field into Tags
- Custom post types imported from another wordpress site, not showing on frontend unless I go in and reupdate them
- Problem with multi checkboxes value in metabox?
- Exporting Post type from one theme and importing it to another theme
- Load custom post type with ID in a shortcode
- Why is wp_list_authors not picking up Authors from CPT’s?
- Change Search display for Custom Post Type
- Create dynamic logo carousel without using any plugin
- Send mail to author when custom post type is saved
- subtracting the current post form then whole loop, which is generating all CPT titles
- Custom Function to redirect singular post if specific meta field is empty
- Recovering data about custom post and taxonomy types
- How to assign post to category
- fusion builder missing from custom post editor
- Using get_post_type with a custom URL format?
- Stored meta from attachment, video length?
- If thumbnail image else post title
- wordpress does not see the correct custom taxonomy hierarchy
- is using “require_once” in wordpress theme affect the speed ???
- $_SESSION Not working after X amount of page views
- Function for when new custom post type is created should do something
- Duplicate posts in my custom loop
- When post is Published, insert into custom table a number – custom post type
- Different Configuration for the_excerpt()
- WordPress page not showing up – replaced with last 10 posts?
- Custom permalink rewrite rules – how do I fix this?
- Post that populates itself (almost) automatically using data from imported excel file
- How to mark posts as visited
- Populate custom post type/custom fields from an external database
- How to sort custom post’s category by id from the theme’s function.php?
- Work and Display a Custom Post Type as a normal Post
- Custom Field to post_title
- Importing URLs of Audio Enclosures
- Post Custom & Taxonomy 404 error
- Getting a 404 on single custom post type page when using rewrite on a custom taxonomy
- How To Display Category list from Portfolio post type plugin?
- Featured image in custom post is being disabled
- custom post type does not working when adding in child theme function
- Create 2-layered dropdown menus for custom taxonomy and custom post type
- can’t see categories in appearance-menu-categories
- Imported Content Doesnt Show Up On Frontend
- Creating connections programmatically with common fields on CPT’s
- call_user_func_array() error after moving to another server
- WP_Query function for custom post type
- Modify shortcode to work with custom taxonomies and slugs
- Calling the first & last post by category in custom post type
- Pagination fault in custom post type archive page [duplicate]
- How can i call a custom method on submission of a custom plugin post type?
- Set the Title of a Custom Post Type by code as Author’s Username
- Query custom post type and showing its content
- Function not pulling image or text from custom post type
- send email to all registered users when post expires
- Rich Custom Field for Custom Post type not saving
- Updating User Meta from Custom Post Field Upon Publish Not Working
- I want to split this into two functions
- Can’t preview custom post – Redirected to home page
- Generate daily archive whenever any post type is added
- Custom Loop for custom post type. Compare by meta_value?
- Invalid Taxonomy in template
- Allow authors to create article image
- Post AND page parameter for WP function
- Code in custom widget queries all posts, when it should only query the current post
- Custom post type functions.php if statement on action
- Add HTML before a specific div?
- How to string lines from the_content() hook in WordPress?
- Passing postid of Testimonial Custom Post in Shortcode Parameter
- Comments are not working on Custom Post Type
- Custom Post Types using wrong template (index) instead of archive-{type}.php – previously worked as expected
- How to I add count of custom posts listed in a post as a prefix to its title
- How to make a non-public post on wordpress approval?
- how to display custom taxonomies in front page
- add_rewrite_rule not working with custom post type
- wordpress category form fields in popup
- How to get the proper category in permalink with custom post type assigned to multiple categories
- Get current post type within functions.php
- Auto Generate Post Title from 2 ACF Taxonomies [closed]