Questions tagged [limit]

The tag has no usage guidance.

37 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1 vote
1 answer
26 views

Limit total tags in the_content

I am using the_content to display content in a custom theme, but I am running into an issue. Right now, I have some JS code that removes the <br> tags and replaces them with </p><p> ...
Josh Rodgers's user avatar
  • 1,173
1 vote
1 answer
239 views

How to limit posts by category

I was wondering if there is a way to make this code limit by category. In other words, if user A has already published 10 posts in category A then he can keep the new ones as drafts in category A or ...
ACE's user avatar
  • 11
1 vote
0 answers
218 views

Limit post creation by role

Hi I want to limit post count a role can create. I am currently using Bainternet Posts Creation Limits. It works from dashboard but not for rest api.
Sinan Baymammadli's user avatar
1 vote
0 answers
2k views

Is there a maximum limit of the number of users returns by WP_User_Query?

I’m working on a search form which filters the users . Everything works but the result is always limited to 299 users. Here is my code which is vers basic : $args = array( 'orderby' => '...
Sébastien Gicquel's user avatar
1 vote
1 answer
77 views

Limit tag selection to predefined list

It can get really messy when I'm entering tags. Sometimes I enter tag 1 sometimes Tag1 or tag01, this is very messy and I can get a lot of duplicated tags that should be the same thing. Is it ...
Reygoch's user avatar
  • 189
1 vote
0 answers
647 views

Adding character count and limit in comments, modifying labels and fields - jetpack

I am trying to configure Jetpack comments as following: I want to change the labels on the comment fields, but I have no idea where to find the code and edit the tags (they are also translated so I ...
Mpampirina's user avatar
1 vote
1 answer
60 views

Limit 1 global comment per minute

I need a function to limit the same user to leave max 1 comment every minute on my wordpress website (all posts).
Suphannee's user avatar
1 vote
0 answers
34 views

Problem with the Loop - want to limit the access to three free articles

What I'm trying to do: If anyone who is not logged in, reads an article, I will increase a session var by one. Save that article ID via global $post and save the $post->ID to an array. After 3 ...
sibbih's user avatar
  • 11
1 vote
0 answers
155 views

HTTP Error after finishing uploading a video that is bigger than 64 MB -> After raising the upload limit manually in the wp-config file

I use Dreamhost as my web host. Previously my WordPress upload limit was 64 MB. I asked the tech from Dreamhost to boost it to 400MB. He told me I had to change a setting in my wp-config.php. That's ...
gab's user avatar
  • 11
1 vote
0 answers
121 views

Wordpress Media Library - Upload space used

Navigating to Media -> Library, I don't get the upload space used displayed: as I should based on various screenshots on the net: Im using WordPress 4.2.6 and Im self-hosted on a shared hosting plan....
lephleg's user avatar
  • 111
1 vote
0 answers
322 views

Limit image upload

I'm trying to limit the amount of files a user can upload through the wp gallery, and i've found the following filter from this link Limit image upload to one and disable audio, video and other ...
alex05's user avatar
  • 33
0 votes
0 answers
10 views

Limit the content cappabilities for user roles of subscriptions

I need guide to builld a subscription page payed by monthly having (bronce,silver,gold) subscriptions as a roles users. the bronce role can create and edit one an only (1 template page ) that page ...
piero.figeri's user avatar
0 votes
0 answers
8 views

Limite of data storage

I want to create a very very very big sites on word press. But I don’t know what is the limit of data storage. Can Word press handle millions of users , for e learning courses website, with thousand ...
Dan's user avatar
  • 1
0 votes
0 answers
54 views

How to limit post (Exception pages) for current user in each role in front end?

Thank you for reading this question I need an option or code for each user in each role to see only their posts at the front end, and other users' posts to be completely hidden from them, even in ...
booklover's user avatar
0 votes
0 answers
536 views

Limit the number of external API calls per second

I would like to use wp_remote_post to retrieve data from an external API. The matter is that the external API only accepts a maximum of 5 requests per second. However, depending on how many users are ...
Peter S.'s user avatar
0 votes
0 answers
46 views

Allow a specific user role I have created to only upload one image to his media library

Hello guys I was following this article but the code doesn't seem to do anything. The last one by Maruti Mohanty is doing something , it doesn't allow any files to upload with an error. Set a maximum ...
Johnda's user avatar
  • 1
0 votes
0 answers
43 views

how to split and upload a theme on wordpress?

I have created an account on googiehost and unfortunately the hosting company has limited the file upload size to 2MB. Since the hosting is free on googiehost the hosting provider may not agree to ...
Ravikiran's user avatar
  • 101
0 votes
0 answers
31 views

Limit front-end submitted posts by role

Right, I know this question has been asked, but, none have provided me with a workable solution, hoping someone can help. I created a property listing site using the plugin Essential Real Estate. The ...
labworxsa's user avatar
0 votes
1 answer
690 views

How to limit the number of custom posts certain users can publish in Wordpress using php script?

Background: I tried both https://wordpress.org/plugins/bainternet-posts-creation-limits and https://wordpress.org/plugins/limit-posts/, but they didn't work for some reason with my custom posts. So I ...
Simon Templar's user avatar
0 votes
2 answers
32 views

Limiting Wordpress Search function : Custom build

The website I am busy working on was built by another company that no longer supports Wordpress so I am looking for help. Below is the PHP for the search function. From the research Ive done it seems ...
Brad Montgomery's user avatar
0 votes
1 answer
45 views

How can i limit the number of posts to the most recent 6 in my query?

I have a crashing jQuery slider that i have been asked to fix. Currently it is loading 128 slides (causing crashed of course), but we only want to see 6. I tried using jQuery to remove() 7th and ...
Ben Blue's user avatar
  • 117
0 votes
1 answer
301 views

Limit post top level categories to one

My website have many posts, ~9 main categories and "unlimited" subcategories. I'd like to force in WordPress panel that you can't choose more than 1 top level category but you can choose unlimited ...
HazeHybrid's user avatar
0 votes
0 answers
46 views

Excerpt being limited too early

I grabbed the code from here I have this in my post right now: "Test sentence for excerpt purposes. Link: https://www.ankitdesigns.com/demo/bysc/competitive/ontario-player-development-league/" ...
Darren's user avatar
  • 83
0 votes
0 answers
200 views

Search Replace Database ONLY for posts of certain category?

I need to search/replace my database but limit the action to posts of certain categories. Is this possible? I usually use https://github.com/interconnectit/Search-Replace-DB, but there is no way to ...
website walrus's user avatar
0 votes
0 answers
27 views

WP website won't accept any new content - need dedicated hosting?

I can't add any more content to the website. Theme devs said to increase limits on the server (memory_limit, max_input_vars, max_execution_time). We upgraded a package with the host, and tried to ...
Diane's user avatar
  • 1
0 votes
1 answer
160 views

Balance Tags to the_content Words Length

I have a category page that I need to show some of the content of a the posts with HTML tags such as images. Site - http://hoffwebsites.com/wp-hoff-testing/ms-conversations/ I have found this code ...
Gina DiSanto's user avatar
0 votes
2 answers
303 views

Video limit about wordpress

Good morning, actually i'm going to start with a new entrepreneur project and I'm thinking about build the website in Wordpress but I'll need to upload many GB of video everyday. There's some limit ...
Daniele Mogavero's user avatar
0 votes
1 answer
72 views

Is there a way to limit multi upload in media upload box?

What I'm trying to learn is to remove multiple upload (and drag&drop). I want a user (vendor) should be able to upload only one file when clicks on upload button. Instead of completely removing ...
grasycho's user avatar
0 votes
1 answer
233 views

Limit attachment caption characters

I want to limit the characters a user is able to enter for the image/attachment caption. There are already long captions in the system and I don't wont to touch them. Any ideas on how to do this? I ...
Dude's user avatar
  • 1
0 votes
0 answers
3k views

How to get to the date of the uploaded file

Anyone can tell which is the filter (if there is any) used for the date of an uploaded file. This can be useful to limit the upload for the users based on the time.
Amine Richer's user avatar
0 votes
0 answers
955 views

Limit Search Queries per IP per Day

I have a small website keeps several pdfs, but to prevent having all of the pdfs slurped up by someone's script (and to keep track of popularity of each file), I am requiring that people enter the ...
iwantmyphd's user avatar
0 votes
1 answer
96 views

Improvements to "limit login attempts" plugin

I'm new in php so I'm still not good enough to make improvements in this php file This php file sends mail alerts to the site admin, I want to change it. I want to add my email instead of admin email ...
Junky's user avatar
  • 1
0 votes
2 answers
819 views

Limit taxonomy terms added to a custom post type

I've created a Custom Post Type and a Custom Taxonomy. In WP Admin, how can I limit amount of taxonomy terms that are added to the custom post type? I want to add no more than one tag into the post. ...
SLH's user avatar
  • 1,432
0 votes
1 answer
135 views

Remove the height limit on wordpress 3.4.2

I have problems when insert images on my pages. I have a image of 1113 × 731 and I upload it to my wordpress, when I go to Add Object popup, the Full size of the image mode is of: 950 x 342. When I ...
Juan's user avatar
  • 1
0 votes
1 answer
138 views

Image limit from 1 to 5

I found this code posted by: MikeSchinkel some time ago have a question how to change this code that i will be able to upload max 5 pictures insteed of 1 ? :) add_filter('...
c64girl's user avatar
  • 43
0 votes
1 answer
277 views

How Can I Limit Users to Post Creation For My Frontend Theme?

I have exactly a same site like stachexchange. In my theme all users can ask questions. But I want to limit users to post for preventing spam. Example: 1 post per hour. Default new registration role ...
user3188442's user avatar
0 votes
0 answers
381 views

Set the limit to allow author when make post!

I would like to ask something here, The question is, is there any way to set the limit of post that an author can post? For example, I have a few authors on my site, but I want to allow each of them ...
Jornes's user avatar
  • 743