0
votes
0answers
2 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
9 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
0answers
6 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
10 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
16 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
13 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
14 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
8 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
23 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 ...
-1
votes
0answers
9 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
17 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
20 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
1answer
21 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
20 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
14 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
24 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
1answer
12 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
10 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: ...
0
votes
0answers
13 views

Double field ACF Problem when Integrate with Themes

I integrate ACF with my themes using function.php . But after integrate, everything is ok, but download link field show twice when I try to post. Here is my ACF code: <?php define( 'ACF_LITE', ...
0
votes
0answers
17 views

$wpdb how can i save my postmeta table before querying it

This function is in my functions.php file. The query returns the value I'm looking for via phpmyadmin, but only AFTER the function has been run in WordPress. add_action( 'transition_post_status', ...
0
votes
1answer
47 views

Ajax loop and history.js for SEO

For a project, I have to ajaxify the main loop with a "load more" button to show more posts (basically as well as Canva Design School). To make this work I used the method described in the tuts+ ...
0
votes
0answers
14 views

register_activation_hook does not work

If i ask my question in inappropriate community, I apologize. I install Wordpress in a freehost. I have a Plugin named fenjoonPolls. But it shows some errors : Fatal error: Call to undefined function ...
0
votes
0answers
21 views

Shortcode does not show if my wordpress has the WP-editor Plugin Activated

After a long time I am posting here my doubts. I am using "WordPress Shortcodes" to show some short codes in the post or page editor, what I see in the visual editor the shortcode works well but when ...
0
votes
0answers
15 views

Use a Firebase DB as main DB

I was wondering if it was possible to use a Firebase database as a main database? Or do you have another solution to use a unique DB across multiple dev station? Thanks :)
0
votes
0answers
8 views

Publish post and create additional posts with same content

I'm building a site which allows authors to create a custom post type, and optionally elect to create X amount of additional posts with the same content. In this case all the content is meta values. ...
0
votes
3answers
24 views

Import Wordpress site to localhost, but loads blank white screen [on hold]

WAMP works fine on my PC. I've created a Wordpress install on D:/wamp/www, replacing the default WAMP index.php, and I've created a new database. I've exported the database from the remote site, ...
0
votes
0answers
9 views

Remove metabox container and header

Is it possible to remove the whole header of my metabox (title+toggle icon) and the container (.postbox) ? I wonder I can use css to remove them, but is it the best solution?
0
votes
0answers
14 views

sorting posts (custom_posts) in author page

I want to sort posts (taxonomies) in my authors page, i want to sort them only by there one posts an have the right to edit them. I've try ed select elements but it shows results from search.php
0
votes
0answers
7 views

Essential Grid- ignoring Set Image Source Type

I am setting this value for the 'Set Image Source Type' And I have this in my functions: add_theme_support( 'post-thumbnails' ); set_post_thumbnail_size( 370, 277 ); add_image_size( 'mnd-size', ...
0
votes
1answer
16 views

Default post_tag for custom post type

Is there a way to set a default post_tag to all posts within a custom post type. I would like all my posts from a custom posts type assigned to one tag displayed in the wp_tag_cloud. Is there a way ...
0
votes
2answers
15 views

Wp_mail() function not working in Windows and MAC OS

Not getting mails when sent from Windows OS and MAC OS but getting when sent from Linux OS. I tried sending mails from LINUX OS,Windows and MAC OS LINUX sending me the mails as it should do but ...
0
votes
2answers
19 views

Can I use a function to return HTML and the result of another function?

I have a very simple function to create a shortcode to get the name of my page. I was using this shortcode in a form, but WordPress changed the Shortcode API and that no longer works. So I was ...

15 30 50 per page