0
votes
0answers
11 views

Create widget in dashboard displaying a custom user field?

I'm trying to follow this tutorial but I can't get it to work. My best hypothesis is that because the code is 4 years old, some function in it might have been deprecated... And the code provided there ...
0
votes
1answer
17 views

“JQMIGRATE: Migrate is Installed” How do I find the problem code?

I have a site and since updating to 4.5 it has a very subtle display bug that seems jQuery related (full bleed images have a white border that snaps away into correctness when you resize window). ...
0
votes
1answer
17 views

How to send email with wp_mail() with from email taken from contact form instead of the host?

I have set up SMTL like this, add_action( "phpmailer_init", "send_smtp_email" ); function send_smtp_email( $phpmailer ) { ini_set("sendmail_from","xyz@gmail.com"); ...
0
votes
1answer
15 views

WooCommerce Custom Shop Page Template

I've been rattling my brain for the last couple of days over how to make a custom Shop WooCommerce landing page. What I'd like is to have a top banner using Advanced Custom Fields image field and a ...
0
votes
0answers
11 views

Bulk Import files on Media Library from CSV

I have a list of more than 5000 files (pdf, doc, jpg ...) on an external server that I would like to upload my Wordpress media library. I would raise them with its corresponding title and description, ...
0
votes
0answers
4 views

Exported/ Imported XML Posts File have lost formatiing

I've exported XML WordPress posts and imported them. All is well - but - the formatting has gone. The posts had paragraphs but now they are all one big block of text. Any idea what I need to do (or ...
0
votes
0answers
20 views

How to access to the primary category of a post? [on hold]

On wordpress you can choose a "primary category" among the selected categories of a post. I want to know how to access to that category when i'm in the loop.
0
votes
0answers
24 views

Can a specific cpt and normal page exist within the same virtual directory?

I've created a cpt of 'channel' (with a slug of 'channels'), and new posts add/display as expected. But an existing normal page at /channels/, which contains a 'we have multiple channels' ...
2
votes
1answer
29 views

Advanced orderby with multiple meta_query

I am on latest version of WordPress. I have scoured the codex concerning wp_query and meta_query. I also read through these: ...
0
votes
1answer
21 views

Acessing WP functions in form submission handler

I have a form which is embedded in a custom post type. The form action points to a PHP file that sits in my mu-plugins directory: <form ...
0
votes
0answers
13 views

Automatically created Wordpress Account by Godaddy? [on hold]

Came into work this morning and this account was added to a website we have developped. Every research I make points to GoDaddy, (the site has a mirror on myftpupload.com and thats where the account ...
1
vote
0answers
16 views

Add a single featured post to all pages?

Within wp-admin, we need the ability to select a single post as the featured post. This featured post will be displayed on all pages. I know I can make a post "sticky" but we would like to have only ...
0
votes
2answers
19 views

Displaying custom posts in categories

I have created a custom post type "brochures" which i am currently displaying with the code below (using ACF to display the brochure file). At the moment this displays all the brochures individually. ...
0
votes
2answers
14 views

Unable to access my plugins

What does this mean when I try to access my plugins in the admin? Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 7680 bytes) in ...
0
votes
1answer
14 views

include(locate_template) messing up the loop

So, I've developed a one page theme that pulls in child pages of the parent in order create the layout. I also have it set up to pull each sub pages page template and display the content accordingly, ...
0
votes
0answers
13 views

Wordpress using get_term to retreive slug not working as expected

Im using the below code to try and get the slug for the current category and the parent category. Ive managed to get as far as getting the currently cat slug but the parent displays in readable text ...
0
votes
0answers
14 views

How to upload thousands of images with folder tree?

Hi We need to upload meda from FTP and when choose image from add media there show foder tree for choose media. See the attached screenshot.
0
votes
2answers
25 views

How to get custom post type taxonomy

I have created a custom post type as portfolio_posts using CPT UI plugin. Using the same plugin, i have created a taxonomy named as portfolio_category. I have made multiple entries under this ...
0
votes
0answers
13 views

The custom “Delete Post” button works only on second time you click it

I created a delete button on frontend for blog posts and custom type posts and I would redirect to a specific page after deleting them. The code that I used for the deleting url is: add_query_arg( ...
-3
votes
1answer
21 views

Plugins combinations for handling question flow

I'm searching for a WordPress configuration or a set of plugins to do the following: Register a user, with two different profiles A and B Each registered user can see different private area (A see a ...
0
votes
1answer
14 views

wp_insert_term doesn't work with custom post type's tax

Here is the problem I am having: I have a custom post type called "developer" This custom post type "developers" has a custom taxonomy, "developer", hierarchic I want to programmatically insert into ...
2
votes
3answers
82 views

Are php template shortcodes ok?

Can I just get everyone's ok that using shortcodes embedded within templates is the 'correct' thing to do? I've tested them and they work just fine - but I just wanted everyone's thoughts. Thanks ...
-1
votes
0answers
11 views

How to be able to translate literals with WMPL? [on hold]

Lets say I have this in the footer.php <?php _e('cookies-bar-text','brand-viajes'); ?> But when I search for the literal in the WPML literals translation: ( it's in spanish but the no ...
0
votes
1answer
14 views

Get posts with multiple meta values

I have a ACF select field which takes multiple value. Now I want to use get_posts() to get those custom posts. My arguments look like this: $party = 'test1'; $function = 'test1, test2'; $args = ...
1
vote
2answers
40 views

Removing blank spaces from scripts to reducing page load time

I am currently working on an entertainment website and I am having issues with page load time. I would love to know if there is any method I can use to remove blank spaces from PHP, JS , CSS scripts ...
2
votes
3answers
37 views

Why does the_content not work like others for a set post id?

Here's something odd, I want to print out a certain post on any page request, if you have a constant $idnumber of your favorite page/message, then add: $GLOBALS['post'] = get_post( $idnumber ); ...
1
vote
1answer
28 views

Filter out comments with certain meta key/s in the admin backend

Not long ago I learned how to add and filter comments on posts/pages with certain meta key/value and it works fine now. Now what I want is to do two things on the backend (/wp-admin): Filter the ...
0
votes
0answers
22 views

How can i make my child theme editable by html and css?

I want to edit my child theme with CSS and HTML. Ideally i would like to edit my child theme files on my computer and then through filezilla make the changes to my website, but nothing is happening. ...
0
votes
1answer
30 views

1+1 php counter inside the update_post_meta

how do you create a 1+1 php counter inside the update_post_meta? this is the code i have so far: $count = 1; update_post_meta($bid_id, 'draftnumber', $count++); but the counter is not moving, so i ...
0
votes
0answers
9 views

How to enable htaccess rules for MultiSite mapped subdomains?

Running a multisite network, setup with subdomains. Hosted on a Pagely VPS. Using WordPress MU Domain Mapping for all "live" sites in our network. Attempting to better page speed scores, and am ...
3
votes
0answers
14 views

Admin settings update updating every time home page is hit?

I have created a plugin that sends an email with all orders placed that day by X o'clock to email Y. I followed the tutorial here: https://scotch.io/tutorials/how-to-build-a-wordpress-plugin-part-1 ...
-1
votes
2answers
37 views

Shortcodes do not work in own template

I have a big problem rendering shortcodes in my template I designed for my Tennis Club which works fine. However, now I wanted to integrate the standard WordPress Gallery, which is implemented by a ...
-1
votes
0answers
30 views

embed our website videos in another website like youtube [on hold]

I have a wordpress website and i put videos on it. how can i embed my videos like youtube for other websites?! I want to make something like youtube embed system for my website and give the embedded ...
3
votes
2answers
45 views

How do I output a database option that is an array into a get_posts array?

This must be fairly simple, but I'm puzzled. And I may be going about it backwards. How do I output a database option that is an array into a get_posts array? I have an option in the database that ...
0
votes
0answers
10 views

Activating theme in local MAMP installation results in HTTP ERROR 500

I have a local WordPress installation in a MAMP server that was working fine and after a period of time without using it I come back to it and I get a HTTP ERROR 500. Couldn't figure out how to fix it ...
0
votes
0answers
11 views

How to list categories within tags?

I'm currently working on an ecommerce site with WooCommerce. I'm using product categories for product types (e.g. cards, DVD's), and product tags for topics/themes (e.g. Christmas, children). What ...
1
vote
0answers
12 views

Images attached to posts from library link to 404 error page

Just building a theme but I am stuck with attachment images. When I add images from the library to posts (or pages) and link them to the "attachment page" I get a 404 error. The link is like ...
0
votes
0answers
16 views

Can't get to work with Ajax and Modal Bootstrap

I'm working on a website that shows a list of products, and when each product is clicked a Modal window should appear, with some product info. So I have 3 files: main, header-main and product-info. I ...
-1
votes
0answers
13 views

Problem with Navigation In theme no support from Manual Support [on hold]

Please find below link to our website. We are using the manual theme. citruspay.info/devguide when we click on an item on the home page, it navigates to a page in documentation but then it expands ...
0
votes
0answers
10 views

Custom query filter not working on woocommerce category page

I am trying to make custom filter for my woocommerce website. Everything is working fine in the shop page, but when I go to the archive page the filters are not working. I am recording each filter ...
0
votes
0answers
18 views

Multiple Passwords to protect WP pages

I have been using a plugin that has worked great up until the latest version of WP. There has not been any development on this plugin in the past 3 years so I assume it wont be fixed. Now I need to ...
0
votes
1answer
15 views

Can I customize the WP admin default dashboard content?

Can anyone please submit hooks and sample codes to use in restructuring wp admin menu and the content?
0
votes
1answer
36 views

How to filter content for specific content variable

I created a plugin that adds content from another post, and places this content next to the original content. I can say, that this content should appear at the bottom of the original post content. I ...
1
vote
0answers
17 views

Utilize customizer nav controls to attach posts to pages

While working on a custom control for the customizer to attach posts to pages I found out that there is already a built-in feature with very similar functions: the nav_menu and nav_menu_item controls. ...
0
votes
1answer
25 views

Help with a $wpdb MySQL Query

I'm wanting to expand on the following query to look at multiple meta_key and meta_value values that have been created with the Advanced Custom Fields (ACF) plugin. e.g. meta_key 'colours_%_colour' ...
1
vote
1answer
16 views

remove sub-category of Custom Post Type from permalink structure

I've got my permalinks for a Custom Post Type set to /%custom_taxonomy%/%postname%/ using the Custom Post Type Permalink Plugin to set the custom rules for this CPT. What this gives me is ...
0
votes
1answer
14 views

Different post styles depending on category

I am using Zephyr theme The link to the blog page. I want to style each post differently based on the post category ex: social media, announcements ect. I would like to style them using a cards ...
0
votes
0answers
6 views

How can I duplicate a bbpress forum post and change highest parent topic?

wordpress version: 4.5.2 bbpress version: 2.5.9 On a local machine so far. I am trying to find an easy way to duplicate forums and the subforums/categories underneath of them while changing the ...
0
votes
3answers
31 views

wp_update_post deletes post meta in CPT

I have a custom post type called 'directory' and it includes a few meta/custom fields. The script below is meant to just change the post status only when run. This isn't on the admin panel where you ...
1
vote
1answer
22 views

what is the difference between .po .mo and .pot files in wordpress localization?

I'm translating a wordpress site and need more clarity around these terms. Can anyone land a hand with some definitions and differences between .po .mo and .pot files with wordpress localization?

15 30 50 per page