How to change WordPress website just with files
How to change content of website build in WordPress when I only have access to files on hosting? I can't use wp-admin so that's what I'm left with.
How to change content of website build in WordPress when I only have access to files on hosting? I can't use wp-admin so that's what I'm left with.
I have a page created using Elementor that I can use for Login and Register but it does not replace the default Woocommerce Login/Register Page when I click on endpoints that require me to login, for e.g. - Orders, Downloads,…
I want to delete some posts that have meta_key = xxx_generate_id programmatically, here is my code $arg = array( 'numberposts' => -1, // The number of posts to retrieve, otherwise 5 'post_type' => $publish_as, 'post_status' => $post_status, 'meta_key' => 'xxx_generate_id',…
I'm somewhat new to PHP and WordPress. I'm attempting to update a posts "post_author" when a logged-in user, who is the author of this post, clicks on a button on the post page itself. This is my code currently PHP…
I need to generate a custom JSON file from custom fields in a custom post type. But I'm not sure what the proper function is for accomplishing this, or if my syntax is anywhere close to correct in the first…
I recently migrated my site to lightsail. My db has about 2mm records and slightly under 1Gb. I connected do the DB through an external client. While I was connected but not running any queries, site became slow. Then I…
The section fronts on a Wordpress site I help out with have just started loading slow, and I traced it to the SQL query that loads the posts for the page, and timed a few different queries to see what's…
I created a custom post type for Testimonials, added author name as custom metabox field. Next I want to add a star rating for each of my Testimonial posts. So I need this feature like if the post has 5…
First time posting a question here. I'm definitely NOT a coding expert, I have learned some HTML and CSS thanks to Google, StackOverflow, and lots of trial and error, but this one seems to be a PHP issue, and I…
I have been trying to insert some fields from a gravity forms submission into a custom WP database and can't seem to get the fields to populate. // create a past speaking event add_action( 'gform_after_submission_8', 'add_past_speaking_event', 10, 2 ); function…