This is because you have relative urls that WP don’t understand what to do with them.
Start by reading about module developing and also creating settings page and action through the admin.
For example start by reading https://developer.wordpress.org/reference/functions/add_menu_page/ and https://developer.wordpress.org/plugins/intro/
Related Posts:
- Best way to overide plugin CSS?
- Ways to create a paid wordpress plugin?
- How to include a plugin’s php file to another plugin functions file [duplicate]
- OpenID for WordPress 3.x? [duplicate]
- How to register_sidebar() without messing up the order?
- How to find out if option exists but is empty?
- Template for different category on woocommerce product [closed]
- Reduce nonce lifespan
- Trigger a custom wordpress plugin with a linux cron
- Add Products to user’s ID Woocommerce
- Add_rewrite_rule doesn’t add custom url in plugin
- Allow a userclass to save a page as a draft – but not publish w/o admin approval
- Fatal error: Uncaught Error: Call to undefined function get_userdata()
- Custom options page checkbox will not save, despite working with text
- How to add inline css/js inside a shortcode
- taxonomy_template filter do not loads custom taxonomy template properly
- Is this plugin being loaded before file.php, subsequently not allowing me to use certain functions?
- Security checking in meta_box save is reluctant?
- Display comments of users on single page
- How do you remove plugin edit option?
- What causes an Unexpected HTTP Error within install plugins?
- How do I write into a file (css)
- Cache WP remote_get HTTP Response using Transients
- What is an arbitrary URL?
- Loco Translate: Custom Post and Custom Taxonomy Labels not translated in wp-admin menu
- I am getting error message on accessing menu-endpoint
- Where should I save an API key of my user when installing my plugin?
- Allow users of my plugin to define their own shortcode rather than use mine?
- Set featured image randomly from WordPress Database on post submission
- Headers Content-Security-Policy CSP Major Issue
- Timed Exam test for candidates [closed]
- There has been a critical error on your website. Please check your site admin email inbox for instructions.Learn more about debugging in WordPress [closed]
- Woocommerce Deposit, then random payments until product paid in full [closed]
- How to call WordPress function other files
- Submit page limited in time to upload image
- Modal suddenly disapearring [closed]
- media page returnig to 404 in rtmedia [closed]
- Remove Woocomerce shop page
- Setting up PubSubHubbub (PUSH) with WordPress
- add_filter doesn’t work
- AJAX call – failling to call do_action
- How to display checked posts on another page over AJAX? (like comparasion style)
- Custom widget doesn’t save values from dropdown box
- Register Script in Plugin Widget
- Ajax save data to database on document ready, no data being saved
- jQuery Click event is not fired at all
- Getting error “Warning: mysql_query(): Can’t connect to local MySQL server through socket ‘FILEPATH/cccatalog-plugin.php on line 1656”
- Widget for specific category
- Plugins successfully uploaded via FTP but they are not on my site
- How to remove products-links after the product title using remove_action
- How to call external functions from a PHP script in a WordPress plugin?
- How to hide post from Home page..?
- Bar graphs with dynamic data
- Unable to install plugins
- Why jquery option is not working when pass value using wp_localize_script?
- How do I add multiple buttons to Tiny MCE in a single plugin?
- “switchEditors is not defined” with wp_editor() in jQuery UI tabs
- How to add custom function to pluggable.php
- Error Using Audio plugin
- WooCommerce – new order email hook
- Upload PlugIn Button is missing
- Access remote SFTP server via WordPress login?
- Can I edit multiple sites with an online WordPress account?
- Troubleshooting Admin_Notice
- Images are broken in Wysiwyg Editor – ACF backend
- Adding Custom Endpoint in WordPress Rest API
- How to change a wordress plugin php code in my child’s functions.php file?
- How to allow URL with filename & extension in wordpress?
- Plugin will not write background color to site
- Unable to update plugins or log out
- Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘wpss_social_addtoany_js’
- load plugin in code snippet
- CF7 Custom Recipient – Changing the text
- When the user entered an unauthorized url redirect to login page
- Add Cancel Button to a Custom Meta Box
- Display post author avatar for Ultimate Member
- Customizer preview URL not updating when settings reset to default
- How to use a shortcode of a plugin in another plugin php file
- Products aren’t detected if CSV importer are used
- how to create database to use it in wordpress website?
- Mobile Notification on a blog post
- WordPress Feedback popup with date saved into table
- Plugin option for input box validation
- Exclude specifed files from plugin editor
- Am I using an action hook correctly?
- Error Copying Directory On Plugin Activation
- Show widget location borders for development
- Filter for modifying image on upload
- Problem for recover and save metaboxes
- WordPress Related Plugin – Adding an image
- Show whether a post is plus or minus with Wp-Postratings
- Add A Button to WooCommerce Product Page
- adding a css file to my plugin
- Plugins not showing on dashboard?
- A plugin doesn’t show up and refuse to be installed
- register_activation_hook not working
- Predefine Product Variations for specific custom product type [closed]
- Hook automatic_updates_complete to autoupdate plugin
- How to include Font Awesome icons into ‘menu_icon’ from register_post_type() function – wp admin?
- WordPress Gutenberg Custom Block the viewScript does not get loaded on the frontend when my block is inserted