Try
function crudindex(){
add_options_page('Crud Dashboard', 'Crudboard', 'manage_options', 'crud', 'crudboard');
add_options_page(NULL, 'Crudboard', 'manage_options', 'create_crud', 'crudboard');
}
and your anchor tag like
<a class="add_new-h2" href="https://wordpress.stackexchange.com/questions/137953/<?php bloginfo("url');?>/wp-admin/options-general.php?page=create_crud">Add New</a>
Related Posts:
- Need help setting default setting value for radio button in theme customizer
- WordPress Shortcode and Dynamic CSS
- Current post’s author name in the author meta tag
- How to have a custom display for both woocommerce archive and product-category pages? [closed]
- Renaming wp-content folder dynamically
- WP_Query | Help me create a search term with an ‘OR’ relation?
- Replacing a specific menu item
- Trigger a php file on every post or page if a condition is met
- Duplicate domain database to local – How?
- How to upload imagick resource to media in wordpress
- Data fetch and delete by ajax request
- display most popular tags in two columns
- Having Issues on Using PHP glob() in WordPress
- Find variables available at a given hook
- Passing data between two hooks in separate HTML requests
- Can I view my own wordpress php source code on my hosted web server?
- Creating a new page and automatically associating it with a template in WordPress
- Send PDF link in email based on radio button selection
- Put a link to a category round a hard coded A HREF
- How to access function from outside of a class within this class in WP plugin?
- Add relevant tag to search results
- Replace word in “the_content” only for index.php
- Cannot display or echo alt text on featured image
- Using Advanced Custom Fields to create a per page slider
- How can I properly control the numbers and dots that appear in pagination?
- Using loop pagination on single.php
- Using the echo command adds unwanted br tags to source
- How do you ensure that a user is recognised and available for use only when it is verified through a row in the database called ‘accountVerified’?
- Issue adding sub category programmatically
- Javascript file is not working on single.php wordpress [closed]
- How to send Ajax request from my plugin in admin dashboard?
- How to display pictures from database?
- custom url rewrite for wordpress
- Customizer: Multiple CSS styles on same element in Live Preview
- Output Video Download Link in template
- Display category name only once inside loop
- AJAX success response is not working but it’s saving my changes
- How Can I use WP_Query to Only Display 1 Post from Custom Post Type if Query Returns Posts with Matching ID in Custom Field
- Large Woocommerce Site (83,000 items), What Can I Do? [closed]
- How do I find PHP file that contains content of my page?
- Multiple do_shortcode in page template
- Ajax contact form return 0
- Get my site session in wordpress?
- is_user_logged_in() not working in AJAX validation call
- Change order of custom submenu link in WP Admin?
- Does anyone know all parameters of get_comments()
- malware undetectable by multiple scans
- How to create a field in customize and show that in header.php?
- I am receiving a pluggable.php warning sign on my only http:// page
- WordPress child pages not working
- Custom map_meta_cap filter does not return [‘do_not_allow’]
- Add New Text Box To WordPress Twenty Seventeen Header
- PHP Output also in Child theme, but different
- Choose either excerpt or the_content
- Check in which custom taxonomy belongs and change the style
- Removed jQuery script from header.php , any problems?
- Dynamically display font icons in widget
- How To Pass Array To get_the_category_by_ID() and Get An Array Back?
- conditional: if is page, and all subpages
- Query the links Database
- How to internationalize header image?
- Need help for some PHP code
- Get title of page containing post grid within the posts
- Problem with displaying CSS Stylesheets – Am I adding them correctly in my wordpress child theme?
- Define global custom post
- How to secure my php forms
- Ajax search box displays nothing if taxonomy doesn’t exist
- delete functionality wordpress
- Add a custom link to each image in WordPress gallery
- cURL needing to loop through all “next_page”
- How do I make the following articles collapse within the month?
- How can I get my pagination loop to display the correct number of total pages?
- Notice : Array to string conversion on array_intersect user meta
- custom field – changing an element or background of id div – different versions not working
- Hide price excluding tax when price is empty
- Is there a reason why my wordpress PHP page isn’t loading into my PHP template
- Show post/page into div using function
- Getting a value from a custom field from a page that shares a parent with the current page
- wordpress, Category ID
- truncating imported rss-feeds
- WordPress 404 when using AJAX to call php function
- WordPress Setting API – There is no field in options.php
- WP_Query count of different meta key values [duplicate]
- PHP calling function within a class
- How I can shorten this title length?
- WordPress – registering sidebar and adding a button directly after .textwidget
- How to change links in the 3 main categories, on widget category, to a javascript function call
- Where can I find the code for the menu page meta boxes?
- Converting Menu Links to List Elements
- I am trying to replace a string with other from function.php
- Php inside the shortcode is getting commented
- Custom field fetch error on woocommerce pdf invoice
- posts_clauses drop ACF get_field function
- PHP block changed to comment by WordPress?
- SQL – How to echo out inside of where statement
- How to create different templates for woocommerce single-product.php?
- How can I update a value of a field depending on outside source?
- Restricting access to a file for everyone except logged in users
- WordPress Block Editor Gutenberg running code inside ! is_admin()
- Tags being Inserted in html from plugin PHP not passing through the_content