0
votes
0answers
2 views

Pass Variable from Function to Shortcode

I realize that this may be as much of a PHP issue as a WP issue, but I'm posting it here because it does pertain to shortcodes and have some WP-specific functions mentioned. Basically, What I'm ...
0
votes
0answers
6 views

How to insert image using WP REST API

I'm using WP REST API to post articles into wordpress. How to insert image using WP REST API in the post? I tried using<img src="url_to_img.png" /> directly in the post, now the html code ...
-2
votes
0answers
9 views

Fatal Error: Call to undefined method

My site is maintained by another person.He replaced the gon importer file in woo commerce admin and while navigating to the inner pages we encountered with an error Fatal error: Call to undefined ...
0
votes
0answers
11 views

Custom post type and taxonomies structure

I am looking for having custom post types and "categories" (limited, known, and just only one) for post. I want the following URLs: site.com/cpt (archive of all the posts inside custom post type) ...
-4
votes
0answers
15 views

Footer css problem

Footer css appears right on every page except single.php page.. The browsers reads on every page in css: #sidebar + #wrapper + #footer { margin-left:18em; } but at full post page #sidebar + #...
0
votes
0answers
7 views

UPDATE on SELECT results. A SQL query to swap Author with Meta Box value

I inherited a project where, for some reason, the previous developer make a custom post type for authors and a custom select listing all those authors cpt titles in the post edit screen. This led to a ...
1
vote
0answers
12 views

How to create thumbnail of different files?

I am storing my uploads in a separate folder and using separate table to save the location in database. I have gone through WP_Image_Editor , wp_image_editor_gd and wp_image_editor_imagick . I also ...
1
vote
0answers
11 views

How to create Blog Post Specific Widget

I want to create widgets which will display based on post. I have considered the option of creating a widget post type using Advanced custom post type plugin and populate this widget while writing ...
0
votes
1answer
19 views

DIsplaying URL of custom field in last post of certain taxonomy && post type

So, I need to echo the URL of a custom field from the last post published in a certain post type and with a particular taxonomy. This code so far works OK, but even that numberposts = 1, $...
0
votes
1answer
21 views

Visual Composer vs. Advanced Custom Fields

I use acf for all my webpages. I think i can create a super easy and simple backend with all the fields the customer needs. Now a boss asked me why we are not using visual composer and i cant get a ...
0
votes
0answers
11 views

Why is the plugin highlighted?

Why is the plugin highlighted? What does it mean? The "Open Framework" had been installed successfully but it doesn't appear "Theme Option" under "Appearance".
0
votes
1answer
8 views

How to add wordpress plugins in along with my standalone theme

I am developing my own custom WordPress theme but in my custom theme i am using some of plugins. Actually i am adding some custom field plugin to customize the text on my theme. My problem is that ...
0
votes
0answers
4 views

Cannot save featured image is custom post type

I am trying to create plugin that creates a custom post with custom fields. So far, I have been able to get the meta box showing up in my custom post type in the backend of Wordpress. The data are ...
-1
votes
0answers
7 views

Woocommerce template URLs shows up on Google Analytics

I'm seeing this for the first time & not sure what's up. Woocommerce email templates or other core template URLs show up on the Google Analytics stats. This shouldn't happen, but how does it ...
-2
votes
0answers
10 views

How I can transform a post type to a WooCommerce product?

I have a custom post called Service. I wonder if you can make that custom post a product of WooCommerce, add it to the cart and do everything else that can be done with a product of WooCommerce.
-1
votes
0answers
15 views

What is the one-query (or the fastest) way to get posts and their terms (more taxonomies)?

Now this might seem like a similar question One query to get posts and their taxonomy terms but it is just similar and does not have proper answer. Goal: I need to get limited number of posts and ...
-2
votes
0answers
9 views

WooCommerce - change sorting of search results

the WooCommerce product search does a search of a term in the title and the product texts. Can I use a snippet in my functions.php to alter the search results in a way that the ones who have the term ...
0
votes
0answers
11 views

Get registered custom fields or post meta even if empty

I would like to be able to get all registered custom fields or post meta for a given post. The limitation I am facing is that the use of either get_post_meta or get_post_custom returns an array of ...
0
votes
1answer
11 views

Server Hardware for Wordpress

Is this hardware good for 5000/7000 daily user? Amazon EC2 instance | vCPU | Mem (GiB) | Storage SSD (GB) --------------------------------------------- r3.large | 2 | 15,25 | 3 x 40 ...
-1
votes
0answers
6 views

godaddy managed wordpress hosting + wpapi v2 + media upload

I'm using godaddy managed wordpress hosting, a timeout error returned when trying to upload a media file to wordpress via WP API V2: cURL Error #:Operation timed out after 30000 milliseconds with 0 ...
3
votes
1answer
39 views

Should the value of core functions be escaped before outputting?

Should the value of functions such as the_permalink() be escaped before outputting to the browser? For example, do I need to escape the following? <a href="<?php the_permalink(); ?>">Link ...
-1
votes
0answers
11 views

How to integrating Front-End Submission (EDD) with Visualizer plugin?

I have problem to integrating or enabling the WP Visualizer plugin into Front-End Submission (FES) addon from Easy Digital Downloads (EDD). I'm trying to find out the add-on documentation or forum ...
-2
votes
0answers
8 views

Track multiple forms with CF7 and GTM

I'm using Contact Form 7 and Google Tag Manager. While following this blog I was able to track my sent forms in Google Analytics. However I need to use the trigger gtm4wp.contactForm7Submitted to ...
-1
votes
1answer
15 views

Different Logo Header for Mobile and Desktop

I'm a bit of a noob at wp and could use some help. I'm using the theme Corsa, and I'm struggling to have a separate logo for mobile and desktop. Test Site: http://reedpp.esy.es/ I've tried numerous ...
1
vote
1answer
13 views

Unable to get post archive link

I'm extending the Fall Wordpress theme by using my own child theme. One of the things I'm trying to do is to make an archive page for the 'service' custom post type. That type is defined in the parent ...
-3
votes
0answers
8 views

My menu is displayed but can't nagivate when Clicked [on hold]

I have updated my WordPress recently and customized my blog, however the menu bar cannot be clicked into, please help me out. Thanks! http://veravariesties.altervista.org/veravarieties/
0
votes
0answers
11 views

Wordpress mutisite migration

Recently i have install a wordpress multi-site for a client. After the initial launch client had change mind to transfer the site to a another domain, i have moved the WP multi-site successfully, i ...
0
votes
1answer
10 views

Add a custom word to the base of a multisite url

Is there a way to add a unique and custom word per site in my multsite network? I want my url to be like this: http://example.com/multisite-name/custom-word/pagename I know I can add a word in my ...
0
votes
0answers
10 views

User can login on a multisite with the same details

I have a running normal WP blog (blog 1). I want to create a Q&A section for my users, so I make a network multisite and install with WP-Answer theme (blog 2). The problem is I don't want my ...
0
votes
1answer
14 views

Send email daily using `wp_mail`

I want to send email daily 12:54pm using wp_mail function, but it send mail continuously. Plz suggest what is wrong? <?php $timeg = date( 'g:ia', current_time( 'timestamp', 0 )); $timem = '12:...
-3
votes
1answer
24 views

BackUp Guard update locks pages page

Today I updated the plugin Backup Guard. After this, I saw on every page this message: Backup Guard uses 64-bit integers, but it looks like we're running on a version of PHP that doesn't support ...
-3
votes
0answers
21 views

working with codeable.io

does anyone have experience with codeable.io service, agency which hires wp experts. I want to apply but don't know what are they looking for and web page doesn't provide a lot of informations.
0
votes
0answers
15 views

Save custom field as 0000-00-00 00:00:00 (date) to meta_value in Wordpress

When I create a custom post type with custom field, how do I write to meta_value in database in int (0000-00-00 00:00:00) format instead of unixtimestamp?
1
vote
1answer
8 views

Update attachment metadata fails

Updating attachment title and description metadata with wp_ajax breaks all previous datas and structure of attachment, my php code: add_action( 'wp_ajax_update_attachment', '...
0
votes
0answers
25 views

Advanced Custom Fields Show PHP in Text Areas

I recently installed and configured my ACF fields. However, I found out that when I include PHP (ex. <?php the_field('field_name');?>) in a custom field on the admin panel, the PHP only shows up ...
-2
votes
1answer
21 views

unable to select “fullwidth” on the POST (not page)

On my WordPress dashboard, when selecting Posts> Add New post, there is no Page Attributes> Template (Default template, fullwidth page, and so on) in the far right column. Because the ...
0
votes
1answer
28 views

Where to find the html for Wordpress site?

Where can I find the HTML for a Wordpress site? I'm using the "X" child theme. I found a tutorial explaining how to achieve an effect that I want and it says that "All I need is an HTML markup and to ...
-2
votes
0answers
13 views

Frame plugin to load external URL's inside posts

Looking to have a frame that displays external websites in my post or theme. Goal is to have have my navigation on top, and the other website on the bottom, like websites selling themes basically.
0
votes
0answers
13 views

I cannot login using the password I set up for myself as admin

I developed the attached script to install LAMP, Webmin, and WP on a blank Ubuntu server. The install goes fine, and when I go to the website, it displays the initial form, allowing me to enter the ...
1
vote
1answer
18 views

ajax nonce verification failing

I have a voting system where a list of posts are printed out using an archive template. Each post's voting button has html data attributes containing the vote-id and the vote-nonce. When the voting ...
0
votes
0answers
16 views

Why is my theme not translated in the backend?

My function is: add_action('init', 'wan_load_textdomain'); function wan_load_textdomain() { load_theme_textdomain('mytheme', get_template_directory() . '/languages'); } This translates in the ...
3
votes
1answer
65 views

Why is there both a save_post and wp_insert_post action?

I just realised that in wp-includes/post.php (source), at the end of wp_insert_post(), both the save_post and wp_insert_post actions are called one after the other, with the exact same parameters: ...
1
vote
0answers
10 views

Redirecting users based on custom user meta

I am novice trying to use the following code: function my_login_redirect( $url, $request, $user ){ if( $user && is_object( $user ) && is_a( $user, 'WP_User' ) ) { if( 'cool' == ...
-3
votes
0answers
11 views

Lost data from variable after update product

I have problem bcs when I set value in dropdown list and refresh cart, product I lost this value. My code below: if ($_POST['period'] == NULL) { $cart_item['quantity'] = 1; } else { $...
-3
votes
0answers
22 views

need some wordpress responsive issue help

i need to my blog page responsive with one line but its show three line article post...the css file/tag stay in this php file..here is the code for where i thing need to set medi screen... <...
0
votes
0answers
8 views

Embed a local page in to a post?

I've been trying to find a good way to embed a page from my domain into a WordPress page also hosted on my domain. My search brought me to a plugin called 'Advanced iFrame', but as you can see HERE, ...
0
votes
0answers
12 views

WP Meta Query at depth 2

I'm interested in doing a meta query according to some post data that doesn't exist at the first level of the post meta. In other words, I would need two or more keys to get to the variable I'm ...
0
votes
0answers
19 views

Server stressed by /feed

I'm debugging a website that my friend has hosted on a VPS that should be perfectly capable of handling a Wordpress installation that gets ~2m monthly visitors. During the last few months, his uptime ...

15 30 50 per page