Questions tagged [library]

The tag has no usage guidance.

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

“TypeError: ((n.event.special[g.origType] || {}).handle || g.handler).apply is not a function” error from jquery.js?ver=1.12.4-wp library

I'm getting an error in console Uncaught TypeError: ((n.event.special[g.origType] || {}).handle || g.handler).apply is not a function at HTMLDocument.dispatch (jquery.js?ver=1.12.4-wp:3) at ...
1
vote
0answers
8 views

Loose images in uploads folder

thanks for viewing. The uploads folder of this site has hundreds of loose images after someone turned off the folder structure for a year. These images are being used in older posts so not ideal just ...
1
vote
0answers
8 views

Get Image from Media Library with the Title

i have set the Title from a Image in my MediaLibrary to "slider". I want to add this Picture via. Code to my page.php file. I dont want to use the ID, I want to use the Title. How can i do this? ...
0
votes
0answers
15 views

Use node.js in wordpress [duplicate]

I am developing a plugin, and it would make my life much easier, if I could use nodejs instead of php for some server sided actions while the reader is on a site. Google didn't help much, all I know ...
1
vote
0answers
16 views

See List View - or Image titles- of Media Library when “Add Media” button is used

When using Add Media button, the Media Library only shows thumbnails. Is there a way to show the list view instead, or in addition to the thumbnail, show the image title? My client needs to drop ...
0
votes
0answers
24 views

Public key encryption in wordpress

Is it possible to use public key encryption in wordpress? Let's say I want my plugin to communicate with another plugin on another site. During this communication secrets should be encrypted and sites ...
1
vote
0answers
64 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
67 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
265 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
22 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
15 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
13 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
56 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
1answer
217 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
445 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
21 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
138 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
145 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
323 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
45 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
713 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
51 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 "...
10
votes
3answers
8k 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
31k 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
49 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
31 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
140 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
65 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
286 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
252 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
108 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
183 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
564 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
573 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
859 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
81 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
173 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
158 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
281 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
127 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
82 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