0
votes
0answers
7 views

If a custom meta box is used to only render data do you still need to create a function to save it?

Playing around with page views in WordPress I wanted to create a custom meta box that would be used to only render what is present in the $post global and not actually record any data. After much ...
0
votes
1answer
5 views

enqueue script on custom post type archive page

How do I enqueue a script on the header if the user is on an archive page of a custom post type? The custom post type is called limitedrun and the page is called archive-limitedrun.php. I tried this ...
0
votes
0answers
3 views

clicking the next pagination, the last post was also in page 2 error

I need some help or explanation regarding pagination in custom post type, I'm using a theme, so there is a pagination readyset there is one problem, if i set the custom post type post per page into 2 ...
0
votes
0answers
6 views

Add newsletter signup element to navigation bar

I've been researching here and on other dev/WP sites to find the best solution for adding what is effectively a custom element to the navigation menu, and it seems like there are many approaches. ...
2
votes
0answers
17 views

How to get WP to use EST Timezone

In my settings, I have New York defined as the time zone. But when I run plugins using PHP date() functions, I am getting a time zone of UTC as it shows in WP Admin > Settings > General. How can ...
0
votes
1answer
13 views

How do I load this jQuery to my wordpress page?

I hope you can help me, I've scoured the internet for hours and can't seem to make this work. I'm trying to follow these directions for using MixItUp: ...
0
votes
0answers
6 views

Highlighting HTML code entered in the text editor

I have a need to have both "rendered" html in a post and "raw" or highlighted html in a Wordpress 4.5.2 post or page. I have solved the former by simply editing in the text editor, placing my code in ...
0
votes
0answers
4 views

Error in image uploader for my theme [on hold]

I am building a simple theme for myself, I added the options in the admin menu. But I get an error when I open the media uploader to upload my logo. I use this code: jQuery(document).ready(function() ...
0
votes
1answer
10 views

How can I get rid of the distance when I'm using list-style-type: none? [on hold]

I am using the following code (output html) to get my comments displayed. But there is a space because of the list-style-type: none; I used. How can I get rid of this? This is the fiddle
2
votes
0answers
14 views

Calling shortcode in wp_localize_script strips result

I am working on adding some functionality on a Wordpress plugin which after a certain click needs to call on some shortcode through ajax. What I first attempted was to call the shortcode inside of ...
0
votes
1answer
19 views

How to hook into <head></head> container

I want to add my own <meta /> tag inside the <head></head> container on every page or post within the loop(). Is that possible? What hook(s) should I use for that?
0
votes
1answer
17 views

How to sort posts according to meta value?

How can I sort all the posts according to their meta value? I am using the below code: $args = array( 'meta_query' => array( array( 'key' => 'wpcf-stream', ...
0
votes
0answers
6 views

Why are the author and the date not displayed next to the avatar in comment section?

I got the following code: jsfiddle.net/xg0waxL7 In this fiddle it looks good but the problem is that wordpress displays just the bottom comment like I want it: prnt.sc/b7yaq6
0
votes
1answer
5 views

how to replace hostnames on certain external links?

I have a need to replace hostnames on certain external links. For example, I'd like to replace outbound links to http://www.example.com/whatever with http://staging.example.com/whatever throughout my ...
0
votes
1answer
22 views

How to limit page pagination… again

I'm digging out on old question as no solution came out. How to limit page pagination I'm looking for a way to limit pages on homepage and categories (archive.php). I have around 200k posts spread ...
1
vote
2answers
32 views

get latest 5 posts and a specific post and sort in a specific order

I'm looking for some advice on how to make a gallery of images. it is a particular bit a gallery, because I would show the last 5 post and a fixed post, for a total of 6 posts, in a specific order. ie ...
0
votes
0answers
12 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
8 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
25 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
22 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
9 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
10 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
15 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
9 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
11 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
8 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
19 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
31 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
21 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 ...
-2
votes
0answers
16 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
18 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
17 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
10 views

Custom ordering of NextGen Galleries

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

Get Woocommerce current category to use in shortcode within template

Im trying to get the woocommerce category slug of the current page so that i can use the output in some shortcode on the archive product template. My shortcode is <?php echo ...
-2
votes
2answers
25 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
21 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
14 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
0answers
9 views

WP_list_table add custom column 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 ...
-1
votes
2answers
21 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, but: given a WordPress site that is: based on a typical "heavy" ...
0
votes
0answers
9 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
9 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
18 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
20 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
21 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.
0
votes
0answers
15 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
24 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 ...
0
votes
1answer
13 views

Wordpress 4.5.2 semi-blank update page + stuck in maintenance

I'm using Wordpress 4.5.2 on an Ubuntu server, and since a couple of weeks ago, weird things happen when I try to run updates. When the update process starts, I don't get any feedback from Wordpress ...
-1
votes
0answers
8 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). ...
3
votes
3answers
89 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 ...

15 30 50 per page