0
votes
0answers
16 views

Using Flickr Images in wordpress

I am trying to use Flickr as my image hosting service. When I am writing a blog article, I have no issues embedding Flickr images but when I'm working on something like a recipe that doesn't provide ...
0
votes
1answer
14 views

redirecting an entire WP site from one top level domain to another

I think I know the best way to proceed doing this but just want to get some reassuring thumbs up before going ahead. Basically I want to move a .co.uk domain to the same name but .com The site ...
0
votes
0answers
38 views

Get custom post type's fields in a while loop as variables

I'm working on a page that shows the name of a lot of products (custom post type), and when the user clicks on the name he can see some product information. It's something like this: Main page with ...
0
votes
0answers
26 views

wp carousel is not working in Google Chrome [on hold]

In this website, www.clinicafelipemeletti.com.br/ Inside the div wp carousel-4 posts I have three dots owl-dot which are not working... I tried a lot of things, but I do not know how to solve it. ...
0
votes
0answers
10 views

Managing advertising code snippets

I'm looking for a solution to manage a mix of advertising code snippets. Lets say you have three advertising contracts. adService1, adService2, adService3 each of them will have some code in the ...
0
votes
0answers
11 views

ACF Meta Query on Taxonomy Fields

I have some custom fields on a taxonomy. I'd like to be able to pull a list of the taxonomy based on those custom fields. I know it use to be possible using a meta query, but now that the custom field ...
-1
votes
1answer
17 views

Hide page for user logged and redirect for profile? [duplicate]

I have a page on wordpress, that after you enter is redirected to your profile page. So far so good. However, after the user logged in would have had no more access to the homepage. I've hid the ...
0
votes
1answer
13 views

Sort Events by Venue Title - Sort Post set by related post ids

In wordpress, I am using The Events Calendar Plugin to host events. This includes two post types: events and venues. On an index page, I would like to list ALL events, but ordered by their ...
-2
votes
0answers
14 views

how to change buddypress group status with php? [on hold]

I'm changing the buddypress templates so the group-settings are not shown as a create group step. And you also do not see them in the group admin. I would like to be able to set the group status ...
0
votes
0answers
13 views

post viewer page in wordpress directory

I want to find a page which shows post in Wordpress site where something like query - $show = "SELECT from post WHERE post_id='$post_id'"; I want to replace some codes before display the post in ...
-1
votes
0answers
21 views

CSS media queries not loading from theme editor

Wordpress code editor won't load last CSS media query, everything before loads fine, here is the code: @media screen and (max-width: 1600px){.dc_about_us_section_row{margin-left:20%;}} @media screen ...
1
vote
1answer
39 views

How i can limit period of post publication?

I need to limit period od post publication - admin type date, for example, 30.05.2016 in custom fields and then i need to hide custom posts with this date less, then today date How i can do this?
0
votes
0answers
31 views

How do I modify CPT titles?

New to CPTs, I've an issue with the titles of some I've just created. My blog posts are within /notes/ and so the CPTs have 'with_front' => false' for the slug. But the titles are prepended by ...
-3
votes
0answers
19 views

The statistics of CloudFlare are the same as Google analytics? [on hold]

I know that is not possible configure Google analytics on WordPress.com natively, is only possible through CloudFlare. I would like to know if when installing CloudFlare I will have access to all ...
0
votes
0answers
22 views

Custom post type's permalink leads to a page not found

I've been working on a custom post type locally and had no problem accessing the page itself, but trying to do it on some domain name always leads me to the same "Page not found" result. I tried ...
0
votes
0answers
28 views

How to upload theme: wordpress org Theme upload error

im checked my theme through theme check plugin. result : im failed upload wordpress org theme upload. having a problem uploading my theme to wordpress as the initial theme check fails with the ...
-1
votes
0answers
13 views

Custom ordering of NextGen Galleries [on hold]

I am using nextgen galleries to group and show images on a website. is there really no way change the order of the galleries themselves ( not the images within the gallery ). i tried to install ...
-2
votes
2answers
27 views

Is fech_feed() use lots of server resourses?

I have a custom post type called blogs (blog URL is saved as custom field). There are nearly 250 blog custom post types. When a custom post type (blogs) load I use fetch_feed() to get the recent posts ...
0
votes
0answers
28 views

Block user redirection to wp-login.php on leaving password blank in frontend login

When a user leaves the Username / Password / Both Blank and clicks login in frontend buddypress login, he is being redirected to wordpress admin login url stating wrong username/password/empty ...
-2
votes
1answer
17 views

How does Wordpress add the comments and comment form to posts

I have created tabs in my single.php file. I would like to move my comments from the bottom of the posts to the comments tab. I have can't seem to find how to do this. I have copied everything from ...
0
votes
1answer
18 views

WP_list_table add custom row action

I have been following the following guide: step by step guide to wp list table however i can't figure out where should i define my action: duplicate in the code. I want to add a link to simply ...
-2
votes
3answers
48 views

To what degree can use of caching-plugins and a CDN boost WordPress performance?

I realize that this question is being asked in a very generic fashion, without detailed specifics of the configuration in question, and thus I am not expecting answers that go beyond anything but ...
0
votes
0answers
14 views

On update, set post status to 'draft'

In my website I have created a custom post type named "Activities". A certain user group is able to add/edit these posts. I'd like to set the post type to "draft" each time a user (not administrator) ...
0
votes
1answer
10 views

WordPress, oEmbed & YouTube video's with a 'dash'

I am having an issue where a video with a 'dash' (-) in the url are not being embedded in WordPress. This is happening when pasting the URL into a page / post and is also able to be reproduced when ...
0
votes
0answers
20 views

How to remove responsive attributes on some images?

I have added a hook to my functions.php to adjust the srcset and sizes attributes of the featured images of my site, but now it also applies to thumbnail images that I don't want to be modified. So ...
-2
votes
1answer
24 views

Set Yoast primary term programmatically [on hold]

How can I set the yoast "primary category" to a post? (when a post belongs to more than one category) I've tried to add the yoast_wpseo_primary_category_term field to the $post array in ...
-1
votes
0answers
25 views

How do i create/generate a shortcode of a single post in wordpress

I want to generate a shortcode of a single post when it is published by which i can show that particular single post anywhere by that shortcode.
1
vote
0answers
20 views

How to add New Post On clicking a button?

I have a custom post type name guide_tutorial.As I add new post It creates a button name Add Pointer.On clicking the Add pointer button its open a popup which have details about pointer .Now I want ...
1
vote
1answer
33 views

How create a Shortcode with hover and complex options

I am wondering how do you do when you have to create a shortcode with multiple hover or complex options ( gradient, boxshadow etc, thing that can't be inline ). How do you generate the css. I don't ...
0
votes
0answers
8 views

How to redirect Https to Http [migrated]

I want to redirect HTTPs to HTTP, I tried following code in .htaccess file Options +FollowSymlinks RewriteEngine on RewriteCond %{SERVER_PORT} ^443$ RewriteRule ^(.*)$ http://www.yourdomain.com/$1 ...
-1
votes
0answers
10 views

restrict user from downloading product woocommerce [on hold]

I'm currently working on a website selling books (virtual, downloadable). On order complete, I'm sending a custom e-mail with a download link from a social drm cloud (the .epub file is watermarked). ...
4
votes
3answers
109 views

post__in for get_posts with a dynamic array

I am creating an RSS feed. I have created a table in my database with 400 post id's. I have the rss feed coded I am now trying to link the two so my RSS feed runs only for the list of 400 posts from ...
0
votes
1answer
20 views

show desktop version of website if button is submited

Hello i can't solve my problem. When users is on mobile device and click on "show mobile version" or something like that it will show him desktop version of web and if he click again switch back it ...
0
votes
1answer
38 views

How to provide meta_key array to wp_query?

I'm trying to build a wp_query, so far I've managed to get desired result using following query. $args = array( 'meta_query' => array( 'relation' => 'OR', array( //check if ...
3
votes
0answers
22 views

How to debug “You do not have sufficient permissions to access this page”?

The error You do not have sufficient permissions to access this page when trying to access wp-admin can result from many causes. How can I debug effectively what is causing the problem? Is there any ...
0
votes
0answers
32 views

How to set featured image from external url without downloading image [duplicate]

I want to set featured image of my post from external url and without downloading, I am using auto-post-thumbnail to generate featured image, but it save image to my server. Is there any method to do ...
-1
votes
0answers
27 views

Can we filter posts on screen options?

I need to show posts depending upon screen option's values, which is a requirement of my client. I have researched this but couldn't find any solutions.
0
votes
1answer
49 views

Pagination in html table is not working

I have a custom page template and I found a a PHP snippet that create a pagination in html table. But the code is not working properly. UPDATE: I change the code. But still the code is not working ...
-1
votes
0answers
25 views

Display all authors of custom post type with specific role

I was wondering if someone could help me out. I would like to create an adoptions-page.php template file within my wordpress theme. This page will display all the authors that have the ...
1
vote
0answers
13 views

Social Links Menu displays icon instead of text (twentyfifteen)

EDIT: I posted too hastily. I just discovered that the solution to my problem is to bypass the regular Menus section and create a custom WIDGET, which can serve as a custom menus box. Below is my ...
0
votes
0answers
22 views

Unique page URL redirect to file_get_contents() at domain

I need to take a page from WordPess and 301 redirect itself to a sub-domain. Page = http://adopttheweb.com/does-it-work/ Domain = http://wp-unique-page-url.adopttheweb.com/ These are live, but ...
1
vote
1answer
28 views

migrating content from a single wordpress installation to a multisite

While there are similar questions for coming from several wp installations to a multisite installation I have a slightly different issue. I am unsure how to migrate a single site where there are 4 ...
0
votes
0answers
15 views

Not Able to Get Custom Post Type in Single and Single-custom-post-type

I have a custom post type called projectsCPT and I am able to display them on page-projectsCPT.php <?php /* Template Name: Projects */ get_header(); ?> <div class="container" ...
-1
votes
0answers
20 views

How do you hide a post->ID when being click? [on hold]

How do you hide a post->ID when being click, but only to hide the own post? this what i have in mind: <?php $hide = $post->ID; ?> <a href="#" onclick="<?php echo $hide;?>" ...
-1
votes
0answers
10 views

Upcoming Events Only

I inherited this WordPress site and I've been asked to edit the Events page. I want to only show upcoming dates instead of all the dates. Here's the current code: <?php ...
3
votes
1answer
42 views

What is best way passing variables to theme templates and using them different places like widgets?

I have a template file at /parts/template.php which contains a post listing code like, echo get_the_title(); //same lines with my_render_function and i am using it at archive.php with this lines. ...
2
votes
1answer
23 views

single-{post_type}.php is not loaded despite flushing rules

I have the following code to define my producto custom type post: add_action('init', 'custom_post_producto'); function custom_post_producto() { $args = array( "label" => ...
1
vote
0answers
14 views

Change the RSS Publication Date to use a value from a custom field

I have a site that wants to order its RSS output by a date value in a custom field. I'd rather not create a new feed to do it -- how do I override the default feed date value?
2
votes
0answers
36 views

Case-insensitive add_rewrite_rules in Wordpress functions

Been hitting my head against the wall on this for a while. If I have a add_rewrite_rules like so: $aNewRules = array('my-books/?$' => 'index.php?pagename=my-books'); This works correctly; ...
0
votes
1answer
15 views

Splitting Repeater Fields in Advanced Custom Fields [on hold]

So, I need to be able to split four repeater fields into separate columns for a layout I'm working on and I can't find one that has been able to work properly, or suit my needs. Essentially, I need to ...

15 30 50 per page