Questions tagged [library]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
21 views

How to upload media to a specific folder without a plugin in Wordpress?

Is there anybody who knows an article that explains and shows a code about creating our own plugin for organising media library with folders in the admin? All media that I upload goes in the wp admin ...
0
votes
1answer
59 views

Add JavaScript-Library “Fitty” to WordPress

as I am trying to figure this one out since hours, I've come to the conclusion, I should have a try, asking you guys. I want to integrate the JavaScript Library "Fitty" (https://github.com/...
0
votes
1answer
109 views

Import MS-Access data file to make the searchable page

I have an MS-access data file the contains the Books detail (used in my library). I want to import this data file to Wordpress page in such a way that user can sear the books with reference such as ...
0
votes
0answers
12 views

Implement pagination on media library or stop infinite auto lazy load

I have a project with a quite extensive Media Library. Everytime an admin user gets into the Media Library it ends up making several hundreds of requests, as per default it progressively lazy loads ...
0
votes
0answers
12 views

Filter portforlio with librairie isotop

I'm doing a php filterable portfolio and also with the Isotop.js library. Having followed a tutorial. I do not understand why my filter system does not work. I created my categories and my projects ...
0
votes
1answer
12 views

Images missing from the media folder

I have images that I uploaded to the media library and which are in use on the website but when I go to the media library they are missing - different ones at different times. The display of images ...
1
vote
1answer
38 views

How to provide a plugin which requires CMB2 (plugin dependencies)?

Every serious plugin developer probably has to deal with this problem: WordPress is not supporting composer or any dependency management by default. I have written a great plugin which I would like to ...
0
votes
0answers
53 views

Open the media library in Wordpress and make a specific image selected

I have created a Wordpress (meta) function in which you can add another feautured image. The workflow is pretty much the same as the featured image: The media library gets opened, you select 1 image ...
0
votes
1answer
146 views

Unable to declare AOS library in functions

Greeting WP Devs, I am planning to transfer the script libraries in my function.php . In my function.php I registered AOS function mypage() { if ( is_page( 'mypage' ) ) { wp_register_script( '...
0
votes
0answers
14 views

How to manually set an attachment in a post?

I need to manually set an attachment in a estate post with custom php. When it was the wordpress that inserted the image into the media library, this image appears in the post on frontend. However, ...
0
votes
1answer
26 views

Should I manually resolve WP Core File security issues or await a subsequent WP release?

Using the Google Developer Tools, I can see that some of WordPress' JavaScript Libraries contain known security vulnerabilities; some a few months old. With this in mind, should I consider ...
0
votes
0answers
352 views

Direct media library upload saving in wrong month date folder in custom theme

I have an issue in my custom theme. Direct media library upload saving in wrong month date folder (2017/03) when current date is 2018/09. But when I upload images through post it goes to the correct ...
1
vote
1answer
17 views

Convert (-) and (escape) signs to (_) when uploading files on wordpress media library automatically

For internal purpose, I'm looking for to convert (-) and (escape) sign to (_) automatically when we upload a file (photo,video,audio) on WordPress media library. Example: If i try to upload this 2 ...
1
vote
0answers
113 views

Use third party Library in wordpress

The GA third party library works with php 5.5 and above, i have this. They say to install this via Composer, since i am new to php i have no idea where is it located and will this work on WordPress? ...
0
votes
1answer
103 views

Setup database structure with books, authors, languages etc. for publishing house [closed]

It was kind of hard to find a good title for my question. What I'm trying to do is setting up a homepage for a publishing company. The website should contain all of the companies books with ...
0
votes
1answer
290 views

Correctly enqueue scripts of type=text/paperscript (PaperJs Library)

I need to use Paper.js (http://paperjs.org/), and specifically one of their examples (http://paperjs.org/examples/smoothing/) on a WordPress website. Usually, scripts are enqued to WP with a PHP ...
0
votes
1answer
1k views

Media Library empty after server migration

I recently moved a client's Wordpress website to a different server. Everything is functioning great, however the media library is empty. When trying to add new files, they get stuck in crunching ...
2
votes
1answer
44 views

Including a 3rd party library in Wordpress which needs to be accessible by wp-config

I'm attempting to use the Defuse encryption library in Wordpress: https://github.com/defuse/php-encryption I'm using this guide as a resource for how to implement it: https://torquemag.io/2016/10/...
0
votes
0answers
680 views

Unable to delete images in Media Library

I have tons of images in my site. Now I'm trying to delete the broken images in the media library but it is not being deleted. Whenever I refresh the page, it is still there. How can I delete those ...
0
votes
1answer
49 views

Building a Article Library within WP?

I've scoured the internet to find some plugin or method on building a article library within WordPress where the users can "check out" posts/articles to use. That must then show up for the rest as "...
9
votes
3answers
7k views

Prevent Wordpress from generating medium_large 768px size of image uploads?

I have followed guidelines to prevent wordpress from generating many different sizes for individual images uploade via the sizes for thumbnail, medium and large to 0 in Settings>Media and have gotten ...
11
votes
1answer
29k views

Update media library files after upload via FTP

I had to upload many files massive and directly to /wp-content/uploads/[year]/[month]/ but those files does not appears in Dashboard>Media>Library Is there a way to update or refresh it to load those ...
2
votes
1answer
5k views

Way to display media library in frontend

Is there is any php code to display the media library section in the frontend? The code should display the full backend media library section to the frontend,like I have the image filter according to ...
0
votes
2answers
45 views

Change author, disable comments, enable trackbacks for all items in library

Change author, disable comments, enable trackbacks for all items in library with 1 click not each one of them separately?
0
votes
1answer
1k views

wordpress images not showing properly

Images are not visible properly in the media library after caching them from my other website. The featured image is also not being set. However the images are showing up on the front end of the ...
0
votes
1answer
30 views

When I insert media from Library into a post, can I then safely delete that media?

My Media Library is getting cluttered and I would like to start deleting old images. Will doing so affect the posts into which I have inserted these images? Does inserting them into the post copy the ...
0
votes
2answers
134 views

Don't show avatars in media library

I am letting users upload avatars which are stored within the uploads folder inside the avatars subfolder which I created. The problem is that avatars are now listed in the media library among other ...
1
vote
1answer
61 views

Adding custom directory and PHP files in wordpress

I'm new to WordPress and I'm using the latest version. I am trying to add this library https://github.com/pinceladasdaweb/tweetlight which is getting the latest tweets from Twitter. Tweets should be ...
0
votes
1answer
269 views

How to make caption field required in media library?

Hi, my question is easy. I don't know how to make the caption's textarea required for user. Is it possible to do this? Thank you.
1
vote
0answers
245 views

How to allow logged out users to upload media?

How do i allow non logged in users access to the media library for uploads? I am making an anonymous blog, i got posting with images to work, but i need the media button above the editor to work so ...
0
votes
1answer
105 views

Front-end CSS Library for plugin [closed]

I'm looking for a CSS library that can style elements I display on the client-side (front-end) of a wordpress website. The CSS library needs to be able to work with most of the wordpress themes, which ...
1
vote
0answers
171 views

Automatically attach image to post if they have the same title

I have 200 images in my WP install. Currently, each image... has its own post (the post title is the same as the image title) is the featured image of that post is inserted into the post However, ...
2
votes
2answers
7k views

How to get an image url from media library

I have got an attachment id, but I need an url. How can I get an url from the attachment object? // When an image is selected, run a callback. frame.on( 'select', function() { // Grab the ...
0
votes
1answer
531 views

Does WordPress support Plupload chunking when uploading asynchronously?

I'm using the Plupload library to upload audio files to my website from the front-end. Here is an example of my Plupload config: var uploader = new plupload.Uploader({ browse_button : 'browse', ...
0
votes
1answer
27 views

How do I display image files as links?

I'm a WP newbie and need some help. I have about 5000 images to upload to my site and need to link each one with a specific entry in a list. The thought of going through 5000 entries (it's a plant ...
1
vote
0answers
570 views

Blank upload.php page

I am wanting to optimize the images that I have previously installed on my Wordpress site. I haven't uploaded any images for a while but now when I try to access the Media Library (Media > Library) ...
0
votes
2answers
780 views

Set Featured Image not opening - Stuck at loading

I am unable to set featured image for posts/pages. The 'set featured image window' opens but never loads and thumbnails. Then I tried to upload the image using Media, it stucks at crunching. But ...
0
votes
1answer
79 views

Categories in media library

I want to add a rather big sound collection to the media library. The problem is that i can't add category to the bunch of files while uploading them... I even can't add it to one uploading file.... ...
0
votes
0answers
164 views

Share common libraries across multiple themes/plugins

What is the best way to integrate a common library (like a framework) across multiple WordPress themes and plugins? Try to answer this from the library developer point of view. Keep in mind that this ...
1
vote
1answer
156 views

media library not showing thumbnails after deleting full image

I am using a bit of code, that deletes the unneccessary full images after uploading and adding different sizes. deleting function in functions.php: add_filter( 'wp_generate_attachment_metadata', '...
0
votes
0answers
275 views

add file name column to media library to sort by

I know that you have answered this but I am a self taught 50 something volunteer and I don't really understand where to place this. If I go to editor (theme being used Asteria lite) and put the code ...
0
votes
1answer
118 views

Crop image sizes directly from Media Library across network (not attached to post or page but sidebar)

I have a MU network setup and I'm pulling in media library images and displaying 4 of those images randomly from across the entire network. I've seen a few people on here using similar codes to do ...
1
vote
0answers
152 views

Custom media uploader not showing library

i am developing a plugin that allows upload an image. Actually the plugin works fine it means, that if you upload an image, the image get set in the database, but, not show the images on the library, ...
0
votes
0answers
81 views

How to add multiple versions of the same featured image for SEO reasons?

I am currently writing a plugin that optimizes category pages in WooCommerce. The idea behind it is that a product can appear in multiple category pages and for every category page it appears in, ...
2
votes
2answers
1k views

Disable edit option in Media library

Hovering my mouse over a file name or a thumbnail brings up the Edit option, I want to know is there any hook to disable all edit links in Media library on Multisite
1
vote
2answers
7k views

How organize uploaded media in WP?

I am new in WordPress and I came from Joomla. I am having some problem to understand how can I (if I can do it...) organize the uploaded media into folders and subfolders using WordPress. If I go in ...
0
votes
2answers
816 views

How do I increase the 255 character limit on the 'description' field for link library links?

My descriptions are being cut off and I need to increase this field to accomodate more text. Thanks.
1
vote
2answers
3k views

How to include external library in wordpress plugin

How can I make an external PHP library available with my plugin. Where the library files need to be placed?
1
vote
1answer
75 views

Plugin allowing users to add articles to a library

We are currently redesigning our site (currently on Joomla) to a new Wordpress platform and I'm concerned I'm going to lose an important feature. I have a membership based site and one of the ...
8
votes
4answers
11k views

Where to put third party PHP library?

I'm developing a couple of open-source plugins and a theme (all part of a "suite") that all use the same third party PHP library. I'm wondering what is the best way to include it in Wordpress. Here ...