0
votes
0answers
5 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
5 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 ...
0
votes
0answers
2 views

How to display posts in a loop for bootstrap framework in wordpress

I am trying to integrate posts in a loop for bootstrap framework in wordpress here the code i used <div class="row"> <?php if(have_posts()):while(have_posts()):the_post();?> ?> ...
0
votes
1answer
13 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
3 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
12 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
0answers
14 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
14 views

File Away plugin problems

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
14 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
9 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
0answers
7 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
2answers
18 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 ...
-1
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
21 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
11 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
18 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
34 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
13 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
13 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
6 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
0answers
10 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
14 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 ...
0
votes
2answers
19 views

PHP Notice: Undefined offset: 0

I have errors in WordPress: PHP Notice: Undefined offset: 0 in /home/userpro/public_html/wp-content/themes/hoon/inc/tweaks.php on line 602 PHP Notice: Trying to get property of non-object ...
0
votes
0answers
4 views

Query if audio attachment AND/OR custom field

I've been trying several things but to no avail... Searched, maybe not good enough though! I have posts that either have an uploaded audio file AND/OR has a Soundcloud link (which is a custom field). ...
1
vote
0answers
8 views

JSON not valid after json_encode posts

I'm having problems saving JSON in a custom table in my database. I pull some posts (+ connected posts) from the database and add them to an array. This is a part of my array: array(2) { ...
0
votes
2answers
19 views

Why is Wordpress' file upload limit so low? Is changing it harmful?

Why is the WordPress upload limit set to 2mb? This seems prohibitively low, especially when almost everyone has broadband these days. I know this can be overridden, but I was trying to find a reason ...
0
votes
0answers
18 views

wp_footer problem

I have a problem with a newly installed theme called QA Engine. When I use that theme, I see my server providers webpage inserted after my page's footer. I don't know what happened, and why is that, ...
-2
votes
0answers
23 views

I am looking for a wordpress premium theme mh news desk free [on hold]

anybody can give me this theme such as below. www.mhthemes.com/demo/?theme=newsdesk if someone already has it and crack, please give me. I don't want to buy it myself. Thanks
0
votes
1answer
19 views

Slider banner with text

I am new to wordpress.I have a banner along with text, I searched for plugins but most of them are only image banners. I need image along with their relevant text. Following is the screen shot of what ...
0
votes
0answers
12 views

WordPress page condition on plugin activate

I'm trying to load diff. template on plugin state like on woocommerce pages and bbPress pages if ( class_exists('woocommerce') || class_exists('bbPress')){ if ( is_account_page() || ...
1
vote
1answer
16 views

How to remove (or block access to) the about.php and credits.php in WP Dashboard

For a site I am developing there cannot be any other http requests than from the site itself. Both the about.php and the credits.php page in the Dashboard pull their data from external URLs (for ...
0
votes
1answer
26 views

Use WP_Query in shortcode

I'm trying to get meta information from the first four posts that have a meta key equal to Sedan, then format that posts meta in order to set up gallery type display boxes. I believe it has something ...
0
votes
0answers
15 views

Multiple domain with one database

I have multiple domain (Multiple domain + subdomain as well) for the different countries and for the different states of it. Now i want to run all the domain from one signle database, all the domain ...
1
vote
0answers
7 views

Session Expired when WordPress Address (URL) and Site Address (URL) are different

I followed this article to allow me to put our company's WordPress blog on a subdirectory of our Heroku hosted site: http://nicolasmlv.com/wordpress-in-your-rails-app/ This says to add this code to ...

15 30 50 per page