0
votes
1answer
39 views

How to add a caption to an image attachment in a file list?

I've tried various things and can't get the captions to show up in my gallery. I'm using CMB2's file list to output image attachments. I hope this question is pertinent enough to this forum as I think ...
2
votes
1answer
21 views

I changed “Howdy” in the admin bar in the dashboard, but when I'm viewing the site it still says Howdy!

I used the following code to replace "Howdy" in the admin bar. This is lovely. However, when I view the site while logged in, the word Howdy reappears. As long as I'm viewing the dashboard, no howdy. ...
0
votes
0answers
7 views

There is any hook that fires after/before updating menus locations in “Manage Locations” tab?

I'm looking for hook that fires before or after updating menus location. I want to fire function after saving on "Manage Locations" tab in Appearance > Menus. I know there is wp_update_nav_menu ...
-4
votes
0answers
16 views

Enable Comments On Ask Me Anyting [on hold]

I was wondering how to enable comments on the plugin Ask Me Anything (Anonymously). It gives me an error message when I try to submit an answer, "Sorry, comments are closed for this item." I would ...
2
votes
0answers
7 views

wp_handle_upload_prefilter valid date from input file

I want to ask some help, i'm having problem with thewp_handle_upload_prefilter Here is the code: add_filter('wp_handle_upload_prefilter','mdu_validate_image_size'); function mdu_validate_image_size( ...
-3
votes
0answers
16 views

Are there any 100% FREE contact form plug-ins? [on hold]

I am new to WordPress. I am looking for some great 100% Free contact form plug-ins. I need more than 5 or 10 form fields, and more than just 1 form like most of these others have for pay ware.
3
votes
2answers
99 views
+50

Load custom posts with same tag as page

I'm using this plugin to add tags for a page: http://wordpress.org/extend/plugins/post-tags-and-categories-for-pages/ And I've added tags support for the custom post: function codex_custom_init() { ...
-1
votes
0answers
14 views

Possible to determine if Ninja Forms form has been deleted w/o direct database query? [on hold]

I'm writing a plugin that creates a form via Ninja Forms on activation, and leaves it on deactivation so it can be reused if it's ever reactivated. I'd like to survive the user deleting the form. I ...
0
votes
0answers
10 views

Genesis Framework - add class to genesis_attr( 'entry' ) [on hold]

I have the following code in a genesis template: printf( '<article %s>', genesis_attr( 'entry' ) ); How can I add a custom class "first" to the -Tag? Thanks.
0
votes
0answers
13 views

trying to write rest api in wordpress json

i am working with a company that is called cordial (online crm/marketing co) that uses rest api to interact with their system. I'm trying to create a rest / json interaction that will allow me to ...
0
votes
1answer
24 views

Exclude latest post from WP_Query taxonomy term loop

Any help would be greatly appreciated! I have a Custom Post Type 'video', with a taxonomy 'tax-video' and I'm looping through posts in the sub-taxonomy term 't-o-t-w'. I need to exclude the ...
0
votes
0answers
24 views

Issue with AJAX passing values from jQuery to PHP

I made an AJAX form in WordPress by making a plugin. The script runs well: First I retrieve the value from the form, then I send it into post_meta table, and finally I put the value in the div I want ...
0
votes
0answers
16 views

Anonymous Email Like Craigslist Has?

I have a question that I've searched for on Google and here but I haven't been able to find a satisfactory answer yet so I figured I'd ask it here. I'm in the early stages of designing a WordPress ...
0
votes
1answer
31 views

How to get post attachments in gallery post format template

I'm doing a WordPress theme, and I get stuck on one thing. As you know, the post-format in WordPress has different types of formats, I did all the types except the gallery slideshow. What I need, for ...
0
votes
0answers
23 views

WooCommerce how to get attribute slug by variation id? [on hold]

Is there a function to get the slug for a given variation_id? In the wp admin back-end: For a custom post type I'm able to attach a related wooccommerce product to the post through a custom field, ...
-4
votes
0answers
15 views

Design a page similar to the wordpress.org plugin page [closed]

I need to design a wordpress site that works a lot like the way this page works: https://wordpress.org/plugins/ We aren't hosting plugins, but we have content that needs a similar layout and the ...
0
votes
0answers
11 views

Multiple Authors on Single Post

Does anyone know how to assign multiple Users as authors of single individual posts (even single custom post types)? I want more than just displaying as tags the list of authors. I am looking at the ...
1
vote
1answer
17 views

Removing http:// from esc url() for wordpress customizer code

I've been trying to figure this out for a few days now and I've now come to the understanding I need help. I've never worked with the wordpress customizer but have been recently interested in adding ...
0
votes
0answers
12 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
22 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
21 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
17 views

WooCommerce Custom Shop Page Template [on hold]

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
12 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? [closed]

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
26 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
34 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
24 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
14 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
17 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
16 views

Unable to access my plugins [on hold]

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
15 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
15 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
17 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
30 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
14 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
22 views

Plugins combinations for handling question flow [on hold]

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
87 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
12 views

How to be able to translate literals with WMPL? [closed]

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 ...
1
vote
1answer
17 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
49 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 ...
3
votes
3answers
39 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
29 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
23 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 ...
0
votes
3answers
44 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 ...

15 30 50 per page