The last two parameters in add_meta_box()
are switched. Look at the code in the tutorial next to yours:
// tutorial code
add_meta_box('wpt_events_location', 'Event Location', 'wpt_events_location', 'events', 'side', 'default');
// your code
add_meta_box( 'linkToArcticle', 'Link to arcticle', 'linkToArcticle', 'arcticles', 'default', 'normal' );
Change it to:
add_meta_box( 'linkToArcticle', 'Link to arcticle', 'linkToArcticle', 'arcticles', 'normal', 'default' );
And it will work
Related Posts:
- How to change default position of WP meta boxes?
- echo value from ‘select’ field type into page template using cmb2?
- Find callback function for custom taxonomy metabox
- Detect meta value changes when post is updated (post_updated)
- Saving multiple Metabox contents
- How to: add option to add more checkboxes on custom post type
- A good strategy to print custom posts (offer) that are checked inside the metabox of a post?
- What’s the difference between same wp functions get_posts(); functions in different form?
- Custom Post Type with Templates using Meta Boxes?
- Anon function and add_meta_box
- Cannot save CPT meta box
- Global custom meta box
- Meta-Boxes for CustomPostType cause PHP Errors and Notices in “Add New” view
- custom post type metaboxes not saving
- Custom meta box in custom post type not working
- Problem with multi checkboxes value in metabox?
- Post AND page parameter for WP function
- Do I need a nonce field for every meta box I add to my custom post type admin?
- Help Creating a Slideshow Custom Post Type with Custom Meta Boxes?
- How to force one column layout on custom post type edit page?
- Custom Post Type – Taxonomy Dropdown Menu?
- How to add multiple images to custom post type?
- How do I remove all the metaboxes for a custom post type?
- How To Set Custom Post Type Title Without Supports
- Creating a Custom Post Types dropdown in a Meta Box
- Add pre-existing meta box to new custom post type
- Dynamic page.php template for custom post types
- How do I add a custom post type to the Featured Content in twenty fourteen theme?
- WordPress metabox file upload in custom post [duplicate]
- Display metabox conditionally
- Custom post type loops with different page templates
- Timepicker-addon doesn’t show – Datepicker works fine?
- When ‘is_post_type_archive()’ return true?
- How to add the post ID (or any other post data) to a Contact Form 7 mail?
- Metabox Populated with a Custom Post Type – How to Output CPT based on Select?
- Is it possible to create a post using a metabox?
- 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
- WordPress custom meta field for custom post not storing data
- How to Duplicate (multiple meta box)?
- right_now_content_table_end function not working?
- dynamically add a custom field or metabox to custom post type [duplicate]
- How to target a specific custom post type post and its all children and grandchildren?
- ACF field key/value to show on taxonomy list
- Re-registering a custom post type not working (not showing up)
- How to Upload CSV Data into Custom Post Type Data with Metabox programmatically
- Homepage’s content is dependent on the custom field values (set automatically), how do I get homepage to update without manually updating page?
- Adding a metabox on a CPT’s submenu page
- Add term to custom post type on draft
- Ordering values entered in Custom Taxonomies
- Permalinks: custom structure for taxonomy – tags?
- Custom Post Type & Meta Box – Displaying meta box information on front end?
- Template not working for the custom Post type
- Loop increase number
- ACF in wordpress
- Change Slug of a Custom Post Type
- Inefficient Query Confusion
- 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
- Show current user posts in custom post type query
- Rewrite permalink for multiple post types (CPT) with taxonomy term
- link featured image to external link
- Custom post type in Custom widget – $listItem
- Showing a meta box in a custom post type on a page
- Having Issue on Getting Metabox Checkbox Value
- Multiple wp_editor instances in custom post type using Ajax
- Redirect to URL if x number of days passed
- CMB select with data from CPT
- Display author box on just certain category posts?
- List of all posts in one custom post type in the edit screen of another
- How to divide Subcategories into pages of parent category wordpress
- update custom taxonomy custom fields
- how to display author name in custom post type
- How to Grab Anime info using Jikan API and fill the value in Metabox
- create a “add icon” field in taxonomies page
- How to get current post type?
- How to convert Post Object Custom Field into Tags
- Getting data from dynamically allocated metaboxes within a custom post
- Get meta values from parent post and save in child post
- Using meta boxes as the title of a custom post type
- Create dynamic logo carousel without using any plugin
- Duplicate posts in my custom loop
- check_admin_referer not working in custom meta box for custom post type
- Populate metabox dropdown with post title from another Custom Post Type (issues with wp_reset / global $post)
- Custom meta box in editor of custom post type not working
- Meta box not saving
- Featured image in custom post is being disabled
- call_user_func_array() error after moving to another server
- CPT and metabox: create multi checkbox by using array?
- How to make post page unique and show it on home page?
- Default taxonomy ‘post_tag’ added to CPT managing by custom role : nothing in the metabox
- Toggle a metabox based on a selection
- Add multiple custom meta boxes to different custom post types
- Custom post type Featured Image popup not working
- How to bring custom meta boxes to custom post types?
- I want to split this into two functions
- Problems with a custom meta_box
- Add HTML before a specific div?
- Is it possible to use a post name in a custom post slug?
- How to consume external API from WordPress post editor and display the response data in the custom field?