It looks like it was my original assumption. I placed all my codes into functions and then made a plugin and everything is working almost perfectly. The major hurdle was that because it was being handled on 2 pages and outside functions wordpress just didn’t seem to know what it/I was doing.
Thanks again @tomjnowell for attempting. I truly appreciate it.
Related Posts:
- Export post data with xml to other site using php soap
- HOW TO Insert Existing PHP Code to WOrdPress
- Where to get information about array fields in $_REQUEST?
- Is it safe to use $_SERVER[‘REQUEST_URI’]?
- Namespacing WordPress project according to FIG standards
- Redirect to Page after Post Submit
- How will php 7 affect WordPress?
- automated tests as a user?
- WordPress Wysiwyg Content not being displayed
- Problems with function on function.php
- Want to create Child theme, but already edited Parent theme css files and some php files
- Switching between custom templates in a post type of the admin menu
- How to retrieve the content (with a specific ID) via ajax by clicking a link tag
- How to add a custom id to each post URL in wordpress
- WordPress: Remove link in the_tags
- How do I display the function the_content in this loop?
- Set WP_MAX_MEMORY_LIMIT higher than PHP.ini memory_limit
- Custom category code not showing all posts
- Custom Plugin For Converting CSV To MySQL
- Apache Fallback instead of add_rewrite_rule
- Correct folder permissions?
- Link posts to pages for breadcrumbs
- WordPress add post format support not working
- Can I install/embed WordPress on a ‘single page’?
- Pass Category Name, Description and Photo into variables to pass to jQuery
- How can I add extra word in permalink when someone click download button?
- Why WordPress won’t update via VPN?
- Create custom permalinks to show Custom Post Type’s relationship?
- conditional logic for front-end custom field edits
- Can I use a jQuery Ajax request in Code Snippets Plugin for WordPress?
- php syntax : [ && ] between commands [closed]
- Add user ID to woocommerce customer dashboard
- How to do a code in php and have text before it? [closed]
- Which PHP page is the Default Posts Page
- Need to put a script above tag in header.php – WP 5.7.1
- Code Executing Too Late?
- New walker for walker_nav_menu to change inside container data
- Add data-id attribute to child page links
- Isotope Drop Down Categories Filter Function
- Getting users with a specific meta data and then querying their posts?
- Making your own custom post views count
- How to remap one of the TinyMCE Advanced Editor button to open the wordpress media library?
- How to allow download url redirection only if user logged in WordPress site?
- trying to get wp_get_attachment_url to output clickable link
- Conditional multidimensional arrays and array_map
- A $_POST should occur when submit form but is not?
- Argument for if term-> have child?
- Select through customizer the template part to be viewed
- difference between sanitize_email ,FILTER_VALIDATE_EMAIL and input email type in html5
- Concatenate string to the_field()
- Conditional featured image with youtube thumbnail
- How to change thumbnail src attribute?
- Get wp_current_user_id using PHP and MySQL
- get_page_templates only return templates with “home” in the filename
- Nav-Menu not showing up
- Show different website layout if no sidebar added
- Showing Subcategory Name/Link Instead of Parent Category
- Get URI from PodPress using PHP
- How to pass hook variable to function?
- What does $2$3 mean? [closed]
- Writing a link cloaking plugin
- How to use wp_send_json() and output the value with ajax?
- How do you remove header sitewide from mobile only?
- How do I get pagination for get_posts() in WordPress or do I have to rewrite the whole code?
- Getting an error when my plugin is updated, but the files update correctly
- Use wp_head hook on template page
- Gutenberg block don’t save rich text content
- how to remove a query arguments from all site urls?
- Query on a repeater date (acf)
- how to separate an array into different arrays and save them into db?
- How to enable HTML tags in category description without breaking the category page
- Remove duplicates from echo output in PHP [closed]
- Trying to get pagination working on WP_Query() post grid
- How to add typehints to function in functions.php when argument is an object?
- WordPress database error only while loading page for 1st time
- Multiple WordPress sites with different theme and plugin sharing the same content
- Use wordpress for /blog section only and all other pages static, but using same footer.php and header.php
- how to print total post count with 2 custom fields (date-range)
- make an array in wordpress cusmization api?
- Code works on page-example.php by not category-example.php
- Can’t make product images clickable
- Post formating on Home page
- Category – “No content found”
- divide custom field values in div every two values
- Weird slug in archives permalink
- How can I correctly POST to a WordPress page?
- WordPress – Image href for home menu nav not working
- Search box background on a different page template
- Cron job to call php to email last 24 hours posts
- WP Ecommerce: Display the “Order Notes” as column in the Sales Log [closed]
- Hide page title
- Edit Image/Image Details – Replace button missing
- A next page function with shortcode?
- How to dynamically change webcam photo timestamps
- get user role. parameter id return type string [closed]
- How to improve wordpress site creation process to increase productivity.
- Custom taxonomy with page post type – WordPress
- Alternative to php echo within code
- Why does WordPress not send the user the email to add a password?
- How to put a class in the p tag automatically added by the_content() in the wordpress loop?