0
votes
0answers
5 views

Query Posts by Custom Field

I'm looking to query my posts via a custom field that I've created on my page. But the custom field is an array of values. So the custom field 'country' could look like this country => ...
0
votes
0answers
3 views

Populating a Gravity Form Field based on the output of a Select box

I am developing a Wordpress site to roll into a phone app. I am using Wordpress, Woocommerce, Gravity Forms and Grvaityviews. While I am using Gravity Forms my question is basically how can I update ...
0
votes
0answers
2 views

How can I get I get the thumbnail custom size dimensions?

Assuming I have a custom thumbnail size, as defined by the following... add_image_size( $name, $dim_x, $dim_y, true ); ...how can I get the defined image dimensions programatically, using only ...
0
votes
0answers
5 views

why is this ajax function not working as expected?

so my class looks like this: class Myclass{ private $nonce; public function __construct(){ if( get_current_screen()->id == 'nav-menus' ){ $this->nonce = ...
0
votes
0answers
2 views

Custom WP_Query doesn't display all posts

I'm building an options page which allows users to choose three posts and three custom images that display on the site's front page. I am using the Settings API to create a custom WP_Query which pulls ...
0
votes
0answers
1 view

Install failure folder exists

Sorry if this question has been asked before and I just didn't see it. I've written a plugin and I'm seeing this error when I try to upload it again e.g. upgrade "Destination folder already exists. ...
0
votes
0answers
2 views

How to exclude categories as well as their respective thumbnails from custom prev-next navigation?

I added the following to my functions.php file: function wyrta_post_nav() { global $post; $exclude_cats = "8"; // Don't print empty markup if there's nowhere to navigate. ...
0
votes
0answers
7 views

Custom Loop and Infinite Scroll

I am using customized version of _s theme where I have Product CPT. In the following files, I need to use Infinite scroll (provided by Jetpack) - archive-products.php taxonomy-[tax-name].php ...
0
votes
0answers
4 views

Adding description to wordpress blog post through wp-admin panel

Is there a way to add a description to my Wordpress blog post through wp-admin panel?
0
votes
1answer
4 views

How to add wpmode in Flash Embed Code in WordPress Site?

I am very new to WordPress, and I want to Embed Flash in my website. I tried some plugin but it does not work. I consulted with some developers, and they said, I need to put, wpmode=direct as param in ...
0
votes
0answers
7 views

Adding a jQuery rotator function

I wanted to test and use the bellow function from @kaiser for a jQuery rotator, but I received an error. Can anyone tell me what is wrong? I have followed all instructions of the author. The ...
0
votes
1answer
9 views

how to use first post image as thumbnail on wordpress

how can i set my thumbnail to use the first image on my post? most time i use bbcode( [img] ) to place images on my post, i want them to be use as well, have tried so many suggestion, but none meet ...
-1
votes
0answers
6 views

Maximum upload file size not reflecting to php.ini

My problem is that when I check to wp-admin/media-new.php I see Maximum upload file size: 8 MB. Now I change the php.ini located at /usr/lib/php.ini I change the upload_max_filesize to 64M and ...
0
votes
1answer
16 views

Ajax contact form returnig 0

I have read through a lot of responses on this site and am unable to find the issue with my code. The form is : <?php while (have_posts()) : the_post()?> <form method='post' ...
0
votes
1answer
11 views

make get_post work in the loop

I'm getting a post by id with get_post(); $post = get_post(17); $page = get_post_meta(17); setup_postdata( $post ); include($page['_wp_page_template'][0]); After getting the post I include a ...
0
votes
2answers
12 views

How do I get my page “About” to show up on my Wordpress site?

I am currently using the Minnow theme on Wordpress. I have set my site to show latest posts from my blog, but I have also create a page called 'About'. This page doesn't show up on my site or in the ...
0
votes
1answer
10 views

Add end mark at the end of every article

I'd like to insert an end mark like &#128282; 🔚 to every article I post. So I added it in entry-content.php like below. <section class="entry-content"> <?php if ( ...
0
votes
1answer
14 views

Display random text from a file with the WP built-in AJAX API

I want to use a solution by @toscho to display and rotate some quotes. The unchanged code works very well, but if I replace the protected function get_rand() { return rand( 1, 1000 ); } with ...
0
votes
2answers
20 views

How to use the conditional homepage tag

I'm trying to display a video in the header of the homepage only but struggling to figure out the correct code. This is the code for the video tag, which seems to be working fine if ( is_home() ) { ...
0
votes
1answer
16 views

Show comon custom field results?

There is custom field "color" in posts with set of hex color codes (all in one custom field, separated with one space). Examples of custom field values for 5 posts: "000000 f0f0f0 c0c0c0 202020 ...
0
votes
1answer
18 views

Search one custom field?

In posts there is in custom field named "color". I have custom search page template, and I would like to show search results only from that one custom field. How to limit search to look just in one ...
0
votes
0answers
9 views

Gravity Form custom validation and Conditional display section

After reading the documentation, i'm not sure how to achieve what I want : Create a form with 3 steps (with ajax enabled) step 1 : email step 2 : firstname lastname step 3 : enter a code. The ...
0
votes
0answers
26 views

Get specific post connections

So I'm using post2post plugin to create connections between posts. On my functions.php I try to get specific post connections but I don't get the connections and I'm not sure why. Any help? So far my ...
-2
votes
0answers
11 views

Wordpress based booking theme or plugin?

I am looking for opinions of fellow Wordpress developers, in terms of a new project I am undertaking for a client. My client wishes to use a wordpress/woocommerce based theme that will allow them to ...
-1
votes
1answer
19 views

Setup WooCommerce to properly handle inventory with variable product?

I am setting up a store that has sells 2 part products (we sell motorcycle mounts and cradles for your gadget) we have 20 different products and 20 different accessories that can be combined with ...
0
votes
0answers
10 views

Permalinks 404 error with HTTPS host

My new permalinks continue displaying a 404 error on my site even after adding the AllowOverride and Rewrite modules parameters. Here is my default-ssl.conf file : <IfModule mod_ssl.c> ...
0
votes
1answer
26 views

Query custom post type with tags

I created a custom post type named portfolio, and am trying to create a query to get similar posts from the portfolio post type based on if it has at least 1 similar tag. For some reason this code ...
0
votes
0answers
9 views

Search and replace post URL's on page output?

Currently, I'm using pretty permalinks for SEO purposes like this: http://example.com/sample-post. This is great for search engine ranking, but now I am finding this is not so great for mobile app ...
-2
votes
0answers
16 views

Display posts in a loop for bootstrap framework

How to show posts in a loops for bootstrap Here is the code I used <div class="row"> <?php if(have_posts()):while(have_posts()):the_post();?> ?> <div class="col-md-6"> ...
0
votes
1answer
27 views

Why is this $wpdb query looping 5 times?

I want to only return one value for this query, it's in my functions.php file. The idea is to return a value that I need once post_meta has been updated. It's returning the same (correct) value 5 ...
0
votes
0answers
6 views

Add notice to checkout page if product from category

I would like to add a notice to the checkout page, before the checkout form, when there is a product from the category "sello" and print or show: Para los purificadores Sello de Oro, favor de ...
0
votes
0answers
13 views

Are immediately-called actions not usable in themes?

If there is a filter or action called immediately in a plugin file (not on 'init' or 'wp' action etc.), is it at all possible for a theme to filter it? Looking through wp-setting.php I would assume ...
0
votes
2answers
25 views

Dynamically create shortcodes using add_shortcode and a callback

In the example below, $shortcodes is a multidimensional array with shortcode data. foreach( $shortcodes as $shortcode ) { // Here we have the shortcode name, could be 'custom_person_john'. ...
0
votes
0answers
22 views

File Away plugin problems [on hold]

Plugin: File Away Problem: Rename function modifies more files then it should when accessed: I've asked this on the plugin's support page, but haven't heard back from the developer after two ...
0
votes
0answers
17 views

Posts won't show up on custom page template

I have a custom page template in my file blog.php. I'm incorporating this into _s theme (my theme's name is urn). I want to display all the blog posts on this type of page but none of the posts are ...
0
votes
1answer
10 views

I would like to add ssl certificate to my already existing wordpress site

I have site named as www.splessons.com and it has 500 articles and now i would like to add ssl certificate to it. My doubt is does this effect to my old articles. Doubts: 1) Does it effects to my ...
0
votes
1answer
13 views

WooCommerce - Checkout suddenly stops working

From one day to the next apparently the checkout, specifically selecting a payment option stopped working. I can't figure out why, but when selecting an option, the page keeps jQuery reloading. this ...
0
votes
0answers
5 views

Send emails in batches on an event

I'm trying to send a couple hundred emails to my registered users (from Subscribe2) when a new post is created. However, I'm on Godaddy and my script times out at 2 minutes and never finishes sending ...
0
votes
1answer
10 views

ACF Image Alt Text [on hold]

I am coding various elements into a Wordpress theme, and I want to be able to add custom alt tags for an image based on which page it loads on. For example: I have the website/company logo at the ...
-3
votes
0answers
11 views

What's Skylar Reed 10/22/14 in Arabic? [on hold]

Needing this for a tattoo so if some can please help asap that would be very grateful.
0
votes
3answers
21 views

Is there a way to change the default page template selection?

Click on "Pages" -> Click on "Add New" In the add new page screen. The default page template selected is "Default Template". Is there a way to change the default option to, let's say "My Other ...
0
votes
0answers
12 views

Complex WP_User_Query call fails on production server

I'm having a very specific and hard to debug problem with a complex meta_query in a WP_User_Query call: I'm using this (simplified) code to built the query: // custom user role $arguments = array( ...
0
votes
1answer
6 views

Search Page: activate html code if the tag is on the page

this is the first time that I write here and my English is not very good, I will try to explain as best as possible. I want to activate some html text if in the result page, the results, has a ...
1
vote
2answers
13 views

How to retrieve a custom post's capability?

When you register a custom post type, you can specify it's capability: 'capability_type' => 'page', Is there away to retrieve the capability_type within a page (based on the post object ...
-2
votes
1answer
16 views

Retina quality screenshots?

I need to be able to insert screenshots (mostly cropped sections of web pages, not whole pages) into my WordPress site for instructional purposes. I have discovered the Awesome Screenshot app for ...
2
votes
1answer
25 views

How do you import members from another system to Wordpress and update passwords so they'll work?

Our current system ( not using Wordpress ) has 1000s of users that we need to port over to Wordpress. The problem we're running into is that the passwords can't stay the same. In our current system ...
-1
votes
2answers
14 views

domain.com and sub.domain.com. How to tell domain.com to use sub.domain.com db instead.

Firstly, they are both subfolder networks! I am looking to have domain.com use sub.domain.com's db. Secondary question: Maybe domain mapping? Could domain.com be mapped over sub.domain.com? Could I ...
1
vote
1answer
12 views

Removal of Media Gallery pictures

When I delete pictures from the media gallery ,does it delete the photos from the post that has been published?
0
votes
1answer
20 views

List all unique custom field values?

I use this code to list unique values of custom field name "authors" from all posts. It works just fine, but I would like to limit results, to get values which appear in at least for example 20 posts? ...
0
votes
1answer
11 views

WP-API: get posts in multiple categories

Let's say, I have two categories, 'color' and 'temperature'. Each one has a number of sub-categories. Wordpress does great job displaying posts in requested categories when I go to URL like this one: ...

15 30 50 per page