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:
- How come Featured Image isn’t showing up in my Custom Post Type?
- How to use a custom post type archive as front page?
- Set posts of a custom post type to be private by default?
- Importing old blog with regular posts into new custom post types
- Custom post status not working
- clients list using wordpress
- Find callback function for custom taxonomy metabox
- Date archives for custom post type
- How can I add dropdown widget/box to admin post page?
- Resource Issues: Importing external data into custom post type and keeping records up to date
- Using Default WordPress Custom Header Image Crop Feature in a Post Type / MetaBox
- Limiting number of custom posts shown on taxonomy page
- Custom post type loops with different page templates
- Custom post types not imported properly
- Allow Users Access to Custom Post Type Only
- How do you output custom code between posts in the loop?
- How to get Custom Post ID by adding filter to child theme’s function
- Loop through posts of a custom-post-type (event) and create .ics (iCal) file?
- When ‘is_post_type_archive()’ return true?
- How to add the post ID (or any other post data) to a Contact Form 7 mail?
- How To Enable Block Editor (Gutenberg) for Existing Post Type via functions.php
- Create a post in custom post type using field in registration form after users submit form
- right_now_content_table_end function not working?
- Notice: Undefined index: suppress_filters
- I did group my search results by post type, but how can i give each of them its own order?
- Change custom post type slug from plugin options
- Create a clone from one WordPress site to another in a few minutes
- How to target a specific custom post type post and its all children and grandchildren?
- get_post_meta not working on publishing
- ACF field key/value to show on taxonomy list
- Re-registering a custom post type not working (not showing up)
- Query taxonomy of taxonomy of custom post type
- CPT archive admin menu label
- Homepage’s content is dependent on the custom field values (set automatically), how do I get homepage to update without manually updating page?
- How to change permalink to include custom post type
- Configuring a meta query with multiple post types that have the same relationship on a single page
- Add term to custom post type on draft
- Different Category system needed for the Custom Post Type
- Global custom meta box
- Template not working for the custom Post type
- Featured Image field not appearing in Custom post type
- PHP question: how to combine syntax?
- Loop increase number
- ACF in wordpress
- Change Slug of a Custom Post Type
- List of all entries of custom-post-type: Add year-parameter?
- How to inherit field value from parent post into in child / sub post
- Custom post type’s posts are not showing anywere but in xml sitemap
- Removing full title and breadcrumb header container for a specific post type
- Get current user id
- Show current user posts in custom post type query
- Rewrite permalink for multiple post types (CPT) with taxonomy term
- Custom post type in Custom widget – $listItem
- Custom posts – tag pagination
- Adding custom post formatting options in custom post types
- Custom meta box in custom post type not working
- Display author box on just certain category posts?
- Function to add custom HTML into head in custom post-type list page
- Submit Custom Postypes from frontend
- Need help with Custom Post Types and Taxonomies
- Conflict in function to allow single post template based on category
- Two-way synchronizing of a post type among multisite blogs
- How to divide Subcategories into pages of parent category wordpress
- Invalid content when I try to import custom post type from the old template wordpress
- set object terms after some some time of published post – functions.php
- update custom taxonomy custom fields
- Is there a way to use ‘publicly_queryable’ => false only on specific taxonomy term?
- Pagination not working in custom post type. Help
- How to add specific terms in a custom post type?
- how to display author name in custom post type
- Limit custom post type to the authors only on front-end!
- Urgent – WordPress keeps creating posts
- Create posts inside CPT post
- ACF field check value of field on all other articles
- Problem with multi checkboxes value in metabox?
- Create dynamic logo carousel without using any plugin
- Send mail to author when custom post type is saved
- Recovering data about custom post and taxonomy types
- wordpress does not see the correct custom taxonomy hierarchy
- is using “require_once” in wordpress theme affect the speed ???
- Custom permalink rewrite rules – how do I fix this?
- 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
- How To Display Category list from Portfolio post type plugin?
- Create 2-layered dropdown menus for custom taxonomy and custom post type
- 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
- Query custom post type and showing its content
- Allow authors to create article image
- Code in custom widget queries all posts, when it should only query the current post
- Comments are not working on Custom Post Type
- How do loop categories post from according in WordPress? is it impossible to solve this problem?
- Where paramaters of a custom function are coming from inside the loop?
- How to use wp_set_object_terms depending on page ID?
- Is it possible to use a post name in a custom post slug?