0
votes
0answers
2 views

Hi There, how to attach multiple images to post title using front end form and retrieve them ? please help me out if anyone can

Logout'; ?> First Name: Message: Photo Tags: Amenities or Features ID, 'amenity-1', true); ?> /> Air condition ID, ...
0
votes
0answers
2 views

$wpdb->last_error deosn't show the query on error

I am inserting data in the custom table using the $wpdb->insert. However, upon error I don't seem to get any information from $wpdb->last_error. What could be the cause of this? I already have ...
0
votes
0answers
4 views

(un)wptexturize() — is it possible?

I have some text stored in a string $text that's filtered through the_content and therefore, wptexturize(). wptexturize() is a function that replaces various characters into more prettier ones. Is ...
0
votes
0answers
4 views

Redirect loop after changing nameserver

my site is https://techyuga.com. Yesterday, I tried to change the nameserver to CloudFlare nameserver. But after that,I am getting infinite redirect loop on my website and I can't even log in to my ...
0
votes
0answers
4 views

woocommerce download product only show to member who purchased it

Hello I have a wordpress website and I created some downloadable product when purchase is completed it shows them their download link And I set it to redirect so if it a video they can see it in ...
0
votes
0answers
3 views

inline css causes multiple copies

This is a question that' stumpled me and I don't know how to ask the right question. If the question is labeled incorrectly, please rename it. I'm using an inline CSS to make the featured image a ...
0
votes
1answer
10 views

WP 4.5 hide core customizer sections

Since WP 4.5 the way you hide core components from the customizer was changed. Changed from $wp_customize->remove_panel() to customize_loaded_components. ...
0
votes
1answer
7 views

Listing posts with wp-cli

I use wp-cli to export some posts from my WordPress database. I'm trying to understand the differences in behavior that are exposed in the example below: $ wp post list --path=/var/www/home-web ...
0
votes
0answers
6 views

Wordpress Woocommerce Assign Slider to Product Category

I would like to assign a custom image slideshow to a 'WooCommerce Product Category', Can anyone make a suggestion as to which plugin would have this functionality?
0
votes
1answer
12 views

What Does “Cannot modify header information?” Mean

I have come across a rather concerning issue with my theme that continues to crash my site whenever I enter a new post. I turned on debugging and I'm given the following errors messages: Cannot ...
0
votes
1answer
15 views

functions.php adding item to end of menu. I want to change position

I found a function in my template that is adding a register button to the end of my menu. I'm wondering if there is any way to make this function add the register button to the beginning of my menu ...
-2
votes
0answers
17 views

Theme oddly broken when updating from 4.4 to 4.51

My Wordpress theme seems to break and look very bad when I update from Version 4.4 to Version 4.5.1. I can't work out how to fix it but it appears that the styling is coming from a common.min.css - ...
0
votes
1answer
27 views

Search & Remove Specific Shortcode From All Posts

Question Is there a way to remove a specific shortcode, say [print_me] from all the posts where it appears in one shot. And I don't mean mask it or filter it so it doesn't show up while it stays in ...
-3
votes
1answer
23 views

Twenty sixteen - full height

I want the twenty sixteen theme to "fill up" the height even if the page is empty. So.. If the content does not fill it up, it will be minimum full height.
1
vote
0answers
10 views

How do I authenticate WP users from a chrome extension?

I'm new to WordPress, and I need help. I am writing a chrome extension and intend to use wordpress as the user database. I intend that because I'm using a subscription management WP plugin that keeps ...
-2
votes
0answers
17 views

Add home page image slider and different sections

I would like to build home page in which i would like to add home page image slider with action video or link button in each image. I would like to add different sections listed as below. ...
0
votes
0answers
6 views

Exporting a multisite DB for a single site production site

So I have a wordpress multisite that houses all of my client test sites(14). This means that its all one database obviously. This client is now ready to go live on a single wordpress instance so I'm ...
-2
votes
0answers
15 views

Category Name in WP_Qurey

When I run this query the categories name the same , all item with categories name "News", I can not define the issue . You can find the code in this link
0
votes
1answer
11 views

get_page_templates only return templates with “home” in the filename

I have the following custom page template filenames: template-about-1.php template-about-2.php template-home-1.php template-home-2.php I have this function to get_page_templates: function ...
1
vote
1answer
10 views

Getting results from wp_oembed_add_provider

I'm having trouble getting results from wp_oembed_add_provider(). I'm developing a site which needs to embed video content from Facebook, and I came across this handy list of Facebook URL structures. ...
0
votes
0answers
11 views

Update get_page_templates function to pass template filename into select option value

I am using the following function to pull page templates into a select menu in WordPress' Theme Customizer: function get_page_templates_select() { $teh_cats = get_page_templates(); foreach ( ...
0
votes
0answers
13 views

Load get_page_templates into select menu

I am using WordPress' Theme Customizer where I would like to add an option for the user to select the page template used. Here is the code to get the page templates. This is the section that needs ...
1
vote
1answer
24 views

Using WordPress' Theme Customizer to select page templates that update layout in the preview

I wasn't sure where to post this question.. I recently discovered WordPress' "Theme Customizer" and am using it to make the pages easier to update for clients. Rather than the standard way of editing ...
0
votes
0answers
22 views

Storing Unique Data on the Database

I have created a custom table on my database using the code below: function dbcreator_activate() { global $wpdb; $table_name = $wpdb->prefix . "ftbstatistics"; if( ...
0
votes
1answer
13 views

With Wordpress + Visual Composer, how to restrict a user to change some content in a page?

Sorry if it's not the right place to post that but I did not find better. I know in Wordpress, it's possible to restrict users to change pages or remove items from the menu. But is it possible to ...
0
votes
1answer
14 views

Role can edit just one page

I've built a site for a client, only ten pages, nothing especially big, and created a role for the group members called Blogger, as the staff need to all be able to both blog and access a couple of ...
0
votes
0answers
9 views

Allow one use group to manage another

I have a website where members and their managers have accounts. The members can create and upload their content, but the managers have their own login and can see a list of the members they manage. ...
-2
votes
0answers
12 views

Woocommerce: Ship only to specific states

I'm trying to limit my delivery to specific states in the Woocommerce checkout, but I want to allow billing to all states. I've searched many times to solve this problem, but failed. I found this ...
2
votes
1answer
30 views

Hiding posts from non logged in users

I wish to hide certain posts for anyone that is not logged in. I tried the Restrict Content (RC) plugin but that did only hide the content of posts, i wish to omit the post completely. Using RC as a ...
1
vote
0answers
10 views

Add custom capabilities to existing custom post type

The only way I can find to associate post types with custom capabilities is during the register_post_type function. I'm looking to add a capability for a certain role (my_role) for a post type that ...
-2
votes
1answer
23 views

Solve theme installation problem?

I am developing a theme but when I install this theme in my local server it say this message. what's the problem actually?
0
votes
0answers
19 views

Blank screen on wp-admin

I know this question has been asked tons of times but it was all outdated; I tried every single thing and it still doesn't work. Here is what I tried so far: Renaming the folder Renaming plugins ...
1
vote
1answer
41 views

Retrieve POST data from AJAX call

I have the following JS script : jQuery('#form-recherche').submit(ajaxSubmit); function ajaxSubmit(){ var newFormRecherche = jQuery(this).serialize(); jQuery.ajax({ ...
-1
votes
0answers
14 views

Help me identify best theme / foundation to start developing a portfolio website [on hold]

I'm trying to create a portfolio website where I can showcase some of my work as well as write about some of my thoughts. If I could make one existing website my portfolio it would be the solveforx ...
-1
votes
0answers
25 views

Is my wordpress hacked? [on hold]

I have this weird code in my wp-load.php getting added every time I delete it. I want to know out of curiosity what the code meant for. Also I want to know how I can stop it from coming back. ...
-1
votes
0answers
6 views

WooCommerce Bookings : Display Element if a Saturday Is Selected From Date Picker [on hold]

I'm using the WooCommerce Bookings plugin on my WordPress site. I'd like to be able to show a paragraph of text underneath the datepicker calendar on the product page if the user selects any Saturday ...
0
votes
2answers
13 views

Detecting current page from class method

I've tried to look for a specific answer/tutorial on this subject but I'm coming up short and wanted to see what the SE community could suggest. At this point, any guidance whatsoever would be most ...
0
votes
0answers
6 views

Woo-commerce: Hiding archived products from the front end when logged as admin

With Woo-commerce archived products appear on the front end of the site when a user is logged in to the WP-Admin area. Is anyone aware of way to prevent archived products from being displayed like ...
1
vote
0answers
18 views

Custom Post Type relationship with hierarchical parent and child permalinks

Trying to get my permalink and url structures to behave nicely. I have a Custom Post Type called Diseases. This post type is hierarchical with parent and child relationships. I have another CPT ...
0
votes
3answers
22 views

AJAX call returns 0

In spite of many similar posts, all the proposed solutions didn't work for me, so here we are. I have the following script : jQuery('#term').keyup(ajaxChange); function ajaxChange(){ ...
1
vote
1answer
26 views

How to target first img in every post with CSS

I am trying to target first image in every post. The example post where I am trying to perform this is here. So I tried to use first-of-type like this .single-post .entry-content ...
0
votes
1answer
19 views

Orderby taxonomy term id using get_posts not working

I'm looping through a series of custom post types and then grouping those by a taxonomy term. That is working great, however I have not been able to order these groupings by term_id. I used a ...
0
votes
2answers
29 views

Redirect all pages except one to homepage via .htaccess

I just trasformed an old website to a one-page Wordpress. The old website had several URLS, now there's ony 1: the homepage. Plus another page with privacy policy. Hence I would like to redirect all ...
0
votes
2answers
17 views

Show featured image as background image from postQuery

The code below gets the image but I want it to be a background image. I believe I need to save the image as a variable first and then echo it out somehow. My PHP is not great so please give an example ...
0
votes
1answer
14 views

Importing featured image to posts, duplicates the image

I'm using wp cli to import the same featured image for around 2,000 posts. I did a couple tests to see if the image would be duplicated or if WordPress would notice that the image already exists in ...
0
votes
1answer
28 views

Add custom shortcodes to the Welcome Mail

I need to add a custom shortcode to the welcome email of my website. I'm not expert; what I need is in plugabble.php file? I tried a lot of plugins for edit email template but nothing seems work. ...
0
votes
2answers
20 views

Which function required?

Which WordPress function allows you to include the footer.php file into index.php file?
1
vote
1answer
16 views

Customize Embedded Tweets (or, How To Hide Photos in Embedded Tweets)

I'm relying on the WP functionality to embed a tweet. When I add a tweet URL, like so: https://twitter.com/SamFlowers/status/724417082247528448 to the editor, it expands and shows the following: ...
0
votes
1answer
14 views

Can I check who updated the static front page on WordPress and the time it was done

I need to check who updated the static front page of a WordPress site and the time it was done. Is it possible? And if so how? I'm an administrator of the site and there are other administrators with ...
0
votes
0answers
8 views

Send media uploads to different directories

I am making a website for my local primary school, and I have each class page as a separate page template. Rather than have all their uploads go into the general /uploads/ folder I'd like to direct ...

15 30 50 per page