0
votes
0answers
5 views

Genesis Framework - add class to genesis_attr( 'entry' )

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
4 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
0answers
3 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
7 views

Issue with Wordpress AJAX passing values from jquery to php

Hello i'm new with WordPress and AJAX, and quite newbie developer, so probably i'm writing about a stupid issue. Well...I made an AJAX form in WordPress making a plugin. The script run well: First i ...
0
votes
0answers
11 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 ...
-2
votes
0answers
8 views

custom form wordpress custom page [on hold]

How to add single form with multiple fields around the page like this image: Is there possibility to use contact form 7 because I would like to get data to database/csv too. CF7 basic html coding ...
0
votes
0answers
10 views

gallery post format wordpress

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
6 views

WooCommerce how to get attribute slug by variation id?

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

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

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
8 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
9 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
9 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
7 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
10 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
0answers
8 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
7 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
3 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
14 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
8 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' ...
1
vote
0answers
11 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
12 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
11 views

Automatically created Wordpress Account by Godaddy?

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
11 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
17 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
12 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
0answers
7 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
8 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
9 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
18 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
7 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( ...
-2
votes
1answer
20 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
0answers
9 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 ...
1
vote
2answers
52 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
0answers
20 views

Get page tag and load custom posts with same tag

I've added the tags support for pages using this plugin: http://wordpress.org/extend/plugins/post-tags-and-categories-for-pages/ And I've added tags support for the custom post: function ...
0
votes
1answer
13 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
29 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
30 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
0answers
10 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
21 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
26 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
8 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 ...
2
votes
0answers
10 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 ...
-2
votes
2answers
33 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 ...
0
votes
2answers
27 views

embed our website videos in another website like youtube

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 ...
2
votes
2answers
35 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
6 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
9 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
15 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 ...

15 30 50 per page