0
votes
3answers
36 views

Stumped on migration

I'm migrating a site from my server to a client's Bluehost (ugh) account. I've tried using All In One WP Migrate BackupBuddy manual migration (copying files & exporting a db using WP Migrate DB) ...
-1
votes
0answers
14 views

Building website for college with minimal budget [on hold]

I have a task to come up with a solution for one college on a very low budget. This is not an online course college. It's more like further education college. I am looking for either: * ready ...
1
vote
0answers
56 views

wp_enqueue JavaScript in child-theme (ReferenceError)

This is my first post here, so I hope I pasted the code well and you'll stand by interpreting the problem. I have deregistered and dequeued two scripts in my childtheme. When removing and adding ...
0
votes
0answers
5 views

Expire posts with Pre and Posts Get new WP_Query in Categories

On my website I use Get Pre Post to display active posts (without an expiration date and those who are yet to expire), and also new WP_Query use to display only posts expired in each category page. ...
0
votes
1answer
14 views

register_settings callback function erases data

I have registered a setting with a callback function: register_setting( 'my-plugin-settings-group', 'notification_email', 'email_validation' ) and callback function looks like: function ...
1
vote
1answer
18 views

Allow contributors to create page (but not publish)

Contributors can create post drafts but not publish. I'd like to add the same permission concept but to Pages. That is, can I allow a Contributor to create a page draft only to have an Editor/Admin to ...
-1
votes
0answers
13 views

How can I change the order of checkout page in Woocommerce? [on hold]

On the checkout page, customers write billing address first and if the customer's shipping address is different from billing, he will write the shipping address. How can I change the order so that ...
0
votes
1answer
30 views

How to offload CSS and JS files from wp-content/themes folder?

Am using the WP Offload S3 plugin and not able to offload the CSS and JS files within the themes folder. Am trying to use wp_enqueue_style() like below in wp-content/themes/spark/functions.php ...
0
votes
0answers
14 views

Trying to get property of non-object in: $tag->slug

I suppose this is a very common propblem but. This function I was using was in fact not a problem until a couple days ago , that the debug starts showing this message: PHP Notice: Trying to get ...
1
vote
0answers
23 views

Google Maps in WordPress

I am dealing with an issue that I would like to have some suggestions on how to solve it. I have a self-hosted WordPress managed website where I implemented a Google Map to display on a page. On this ...
-2
votes
0answers
9 views

Search engine friendly wordpress e-commerce templates [on hold]

I would like to design an e-commerce website. Designing my own e-commerce website from scratch will take a lot of time. I am searching for templates and plugins for wordpress. There are some other ...
0
votes
0answers
5 views

Change Editor to tinymce for BBPress

I need to change the editor of bbpress plugin to tinymce, So i add this code in my function.php file and not change any thing. And still show me nicedit editor. function bbp_enable_visual_editor( $...
0
votes
0answers
15 views

I cant access wordpress login? [on hold]

my wordpress login page cant be accessed and I am given "Fatal error: Class 'WooCommerce_Widget_Cart' not found in /home/content/80/9677880/html/maidstone/wp-content/themes/wpflexishoptwo/functions/...
0
votes
0answers
14 views

Add alt text to image posts using XML-RPC/functions.php

I am using the following part of code to upload images using xmlrpc: $content = array( 'name' => $title.".".$ext, 'type' => $type, 'bits' => new ...
-4
votes
1answer
23 views

how to Show BEFORE TEXT before in wordpress get_comment_meta

I am using a piece of code to show the city output. It is working fine. The code is given here: $city = get_comment_meta( get_comment_ID(), 'city', true ); I want to show Re: text before the output ...
0
votes
1answer
13 views

mysterious issue with stop words in urls not working - how can I restore multiple url access?

I have a site that until recently, you could access a url of a post on the site with or without certain "stop words". Now though for some mysterious reason that doesn't work. So to clarify, the ...
0
votes
0answers
6 views

Sort comments in backend by meta

I have a meta value named, that I add to all of my comments for a specific post type. This subject is auto populated with a value that tells me the current situation of the post, when the comment was ...
-1
votes
1answer
16 views

WordPress Multisite with HTML template as Root

Sorry about the title, I couldn't think of a good one. Would it be possible to have a WordPress Multisite setup with a HTML landing page as the frontend and just have the backend of WordPress ...
1
vote
1answer
14 views

How to customize Wordpress twentytwelve_comment function

Is there any way to customize wordpress twentytwelve_comment function to change default comment author meta details.
0
votes
0answers
29 views

Install and activate plugin programmatically

Can I install and activate WordPress plugins programmatically in PHP, using the administrator username and password and WordPress host. I want to enable users to manage their plugins in WP using my ...
-1
votes
0answers
19 views

How to place order automatically Woocommerce [on hold]

Is it possible to automate the place holder when user register? Here's the scenario: 1)I have this specific page i send to all the chosen customer 2) When customer register to that specific page it ...
0
votes
2answers
40 views

How to apply a filter to everything?

I'm wanting to apply a filter to everything. add_filter('the_content', word_swap); Is there a term I can replace the_content with that'll target all functions?
0
votes
0answers
17 views

Jquery script with comments ID's

My html looks like this (simplified) $args = array(...); $comments_query = new WP_Comment_Query; $comments = $comments_query->query( $args ); foreach ($comments as $comment) { <...
0
votes
1answer
19 views

Copy custom field value to post title

I used the code found here. However, that does not update the title field until you open the post and hit Update button both via the back and front-end. I tried changing "save-post" hook with "...
0
votes
1answer
23 views

Wp Admin Bar Customizing Labels

I would like to replace the Label the Plugin WP Custome Area sets on the admin bar. This is the initial parto of code that sets the menu title: public function build_adminbar_menu($wp_admin_bar) { ...
0
votes
0answers
15 views

WooCommerce Ajax add to cart not working on Multisite [on hold]

I've configured multisite with example.com and example.com/in When am adding a product to the cart of example.com/in, it will be added to the first blog example.com and not in example.com/in. It ...
-2
votes
0answers
18 views

Get Posts ordered by a date custom meta field

I have created a meta field for a custom post type. This is a date field that will always be YYYY-MM-DD. There could be 100s of posts so i cant query them all and sort afterwards. I need to be able to ...
3
votes
1answer
27 views

Sorting posts by multiple values, combined

In this image, 1. The Black letters are default post titles 2. The number before the 'of' is a custom field. 3. The number after the year is the post's published year Now I want to sort this ...
0
votes
0answers
17 views

$wpdb->update does not update, var_dump of data is correct

I have a problem with the $wpdb->update below. The var_dump data is correct but the update is not saving the data into the record of the table. Table name is wp_rdp_media_organisations. Unique field ...
0
votes
2answers
61 views

WordPress still requires FTP information

I've ran into this issue where WordPress requests my FTP login credentials. So far I've tried: chown change user change file permissions edited wp-config.php None of it seems to work. The server ...
0
votes
0answers
12 views

custom post type cate/child not working

hey i have this custom post type with taxonamy job_listing_region register_post_type( 'job_listing', array( 'hierarchical' => true, 'public' => true, 'rewrite' => array( ...
-3
votes
0answers
18 views

display user profile on frontend via shortcode or php

I use a wordpress plugin(profile-builder) to display a logined current user's profile in a page,the plugin is good for me ,but I have a little problem of displaying user's profile form in frontend. ...
1
vote
2answers
40 views

Returning a value from a PHP page

I have created a WordPress page that has this simple PHP code: <?php $result = array( 'State' => 'Done', 'ID' => 1 ); wp_send_json( $result ); ?> When ...
-3
votes
0answers
17 views

Contact Form 7 not showing [on hold]

For some reason my contact form 7 is not showing up on a page with a custom theme template. Below is the code in the theme template: <?php /* * Template Name: Page Builder Template with title * ...
0
votes
1answer
46 views

Display Posts by Categories

I am currently in the process of developing a Wordpress theme and I am looking to have different pages where I can display posts from different categories. I have a styling and structure I want to ...
0
votes
0answers
8 views

Setting cookies in WordPress error

I'm having issues attempting to set a cookie containing a URL or ID. The background behind this that I have a WP site developed where the home page contains a list of locations (which is a custom ...
0
votes
0answers
8 views

Custom post Type search gives wrong results

i created custom post type for properties . there are 7 entries for Wendy's properties . when i search Wendy, it displayed all results related to Wendy's.when i type Wendy's , it display 3 results ...
1
vote
1answer
19 views

Search query -> Show all pages except certain template

These are my arguments for the search query: $args = array( 's' =>$s, 'post_type' => array( 'post', 'p24_cases', 'page') ); Using these arguments, the search results will show all pages ...
-1
votes
0answers
30 views

Header.php toggle navigation button not working [on hold]

I am using bootstrap to customise my blog theme. Then I have used collapsable navigation bar in my header.php page. The problem is the toggle button is not toggling the navigation menu. I am not able ...
-1
votes
1answer
17 views

Looping through Awesome FAQ in Template

I have the Awesome FAQ plugin on a site with custom built templates. I have an faq template that I built and it contains a section that should be repeat per question and answer. The normal WordPress ...
0
votes
0answers
12 views

Blank WordPress//BoldGrid site. Where do I start as to not repeat tasks or create conflicts? Is there an order of operations so to speak?

Where do I start as to not repeat tasks or create conflicts? Is there an order of operations so to speak? I want to be efficient and thorough but keep getting stuck on weird tasks that become mute ...
-3
votes
0answers
22 views

Splitting PHP Loops [on hold]

I have a requirement to split a loop on every 1st then 3rd instance, so the layout would look something like this; <div class="wrap"> <div>content #1</div> </div> <...
-2
votes
0answers
12 views

Woocommerce user first order minimum quantity [on hold]

How to limit a product minimum quantity only for specific user role on his first order e.g if a subscriber wants to buy a product for the first time he must buy atleast 3 product it is only for first ...
-4
votes
0answers
30 views

Post Link Loading Slowly and Taking Forever

After restoring WordPress installation from server, when I click on a post link to visit the post is taking forever to load and at some point keeps loading and eating up the server's memory. Any ...
0
votes
0answers
45 views

Custom Function on Child Theme

I am trying to overwrite a function on Listable theme but it is not working complete. Here is the theme function function listable_wrap_the_listings( $html ) { $output = ''; $show_map = ...
0
votes
1answer
26 views

How can I return the result of my custom function?

I have used the following source code to add an extra city field to my WordPress comment form: <?php /* Plugin Name: Comment meta data test Version: 1.0 Plugin URI: http://wpengineer.com ...
-5
votes
0answers
21 views

Need to figure out a Woocommerce solution to assign products to users [on hold]

Basically when a customer logs into the site, they will only see products I've assigned to their account. No one else should be able to see another customers products Each product is unique and will ...
0
votes
1answer
11 views

CPT defaults to single.php?

This is more of a clarification question, but if I don't have a single-CPT.php script in my child theme, then will all my CPTs default onto single.php? I am just wanting to clarify more than anything. ...
1
vote
0answers
12 views

Assign terms to new capability for all taxonomies

I would like to move the ability to assign_terms away from edit_posts and allocate it to a generic_capability so that whenever new custom taxonomies are created, anyone can assign terms, but do not ...
-2
votes
0answers
15 views

How to use Google Experiments to test custom post types without showing multiple versions of same piece of content in lists?

I'm trying to use Google experiments to a/b test some custom posts (courses in this case). Everything works ok with the setup, but how do I prevent both versions from showing up in a product (e.g. ...

15 30 50 per page