Phoenix Media Rename

Opis

Uvelike poboljšajte svoj SEO: preimenujte vaše medijske zapise s “Phoenix Media Rename” dodatkom

Snimke zaslona

  • screenshot-1.jpg
  • screenshot-2.jpg
  • screenshot-3.jpg

Instalacija

  1. Učitaj phoenix-media-rename direktorij u /wp-content/plugins/ direktorij
  2. Aktivirajte dodatak kroz ‘Dodaci’ izbornik u WordPress-u
  3. Gotovo je! Možete ići na bilo koju pojedinačnu stranicu medijskog zapis a i primijetit ćete novo polje “Naziv datoteke”. Grupno uređivanje je također dostupno na na stranici s “Mediji” popisom.

ČPP

How to rename files translated with WPML?

Make sure that the WPML Multilingual CMS and WPML Media Translation plugins are activated (you can find more information on WPML in the WPML official site).

Add one or more images to your media library, WPML Media Translation will add the localized version to your media library.

Go to WPML -> Media Translation and edit the localized version of your media files, you can change both the image title and the file attached to localized version.

Rename images using Phoenix Media Rename.

Go to your media library, select the rename operation, check all the files you want to rename, edit the filenames and confirm the bulk operation, Phoenix Media Rename and WPML will do all the rest!

Please look at the screenshoot section to see how the process works.

How to serialize file names?

You can serialize file names enclosing the variable parts between { and }, this will cause Phoenix Media Rename to generate a sequence of filenames.

The variable part has to be an integer number, but can start with 0 (i.e. 0023).

Please note: check all the files you want to serialize and write the name for the first one, see screenshot-3.jpg for reference.

Kako spriječiti uklanjanje akcenata u imenu datoteke?

Idi na Phoenix Media Rename stranicu postavki i odznači “Ukloni akcente” opciju, to će spriječiti sanitizaciju akcenata
Napomena: izbjegavanje sanitizacije akcenata može uzrokovati neispravan URL na nekim hostinzima.

Kako izbjeći obradu revizija?

Idi na Phoenix Media Rename stranicu opcija i odznači opciju “Ažuriranje Revizija”, to će spriječiti ažuriranje revizija.
Napomena: izbjegavanje obrade revizija će ubrzati proces preimenovanja, ali će uzrokovati neispravan link medija ako vratiš post na stariju verziju.

Kako da promijenim ime pojedinom mediju?

Idite u Medijski odjeljak administratorske ploče i otvorite medij prema izboru. Vidjet ćete novo polje “Naziv datoteke” i vaš trenutni naziv datoteke u njemu. Promijenite ga u što god želite i pritisnite dugme “Ažuriraj”.

Kako da grupno promijenim nazive medijima?

Idite na Media odjeljak u administratorskoj ploči, označite “Promijeni ime” ili “Promijeni ime & naslov” grupnu radnju (ovisno da li želite da i ime medija bude promijenjeno) iz padajućeg izbornika, provjerite medije kojima biste željeli promijeniti ime i promijenite imena njihovih datoteka koristeći “Naziv datoteke” polja u zadnjem stupcu. Kad ste gotovi, pritisnite dugme “Primijeni” i dopustite dodatku da napravi svoju čaroliju!

How to rename medias getting the filename from the title of the post they are attached to?

Go to the Media section of the admin panel, select the “Rename from Post” or “Rename & Retitle from Post” bulk action (depending on if you want the media get retitled too) from the dropdown, check the medias you would like to rename and hit the “Apply” button

Mogu li koristiti dodatak da promijenim ime medijima kroz kod?

Sure, you can use the “do_rename” static function, located at the Phoenix_Media_Rename class. Prototype: do_rename($attachment_id, $new_filename, $retitle = 0, $title_from_post = 0, $name_from_post = 0, $check_post_parent = true ). On success the function returns 1, and on error – the error message.

Can I integrate 3rd party plugins?

Sure, you can use the “pmr_renaming_successful” that fires when the rename process is complete and returns old and new filenames.

Feel free to ask for more custom actions!

Example:

/**
* Your function
*
* @param [string] $old_filename
* @param [string] $old_filename
*/
function my_callback( $old_filename, $old_filename ) {
    // your code
}

add_action( 'pmr_renaming_successful', 'my_callback', 10, 2 );

Do you need more features?

If you would like more features, such as automatic renaming, or a dashboard for renaming files, have a look at the freemium plugin Media File Renamer. Yes, we are friends!

Recenzije

13. svibnja 2021.
Does exactly what is says. Worked well with my Divi theme. Saved me hours of time. Thank you for a great plugin.
10. ožujka 2021.
This plugin is focused specifically on doing one thing and doing it right - that is renaming the media files you absent-mindedly uploaded with some not SEO-friendly names. Very simple to use! The plugin author is responsive and receptive to the feedback which is the icing on the cake. 10/5 would recommend again!
12. veljače 2021.
The plugin works as described and is very useful! In addition, the developer is very responsive. 5+++ stars!
05. veljače 2021.
This app is truly a godsend for neatniks like me who want to make sense of our images. This app not only lets you change the name of images, it also gives you the option to change the title. The latest 3.0 update includes a terrific new option: to select a group of associated images (such as a picnic with friends) and serialize the names (such as "2020-picnic-001", "2020-picnic-002", etc.) This is invaluable when organizing your image library. Many thanks to the dev for this plugin. If you like it, consider clicking the "Donate" button on the plugin's main page.
Pročitajte svih 47 recenzija

Suradnici i Programeri

“Phoenix Media Rename” is open source software. The following people have contributed to this plugin.

Suradnici

“Phoenix Media Rename” je prijeveden na 6 dijalekata. Zahvala prevodiocima za njihov doprinos.

Prevedite “Phoenix Media Rename” na svoj jezik.

Zainteresirani ste za razvoj?

Pregledajte kôd, pogledajte SVN spremišteili se pretplatite na dnevnik razvoja od RSS.

Dnevnik promjena

3.3.1

  • fixed compatibility issue with Elementor

3.3.0

  • added option to create a 301 redirection when a file has been renamed. The option is disabled by default, to enable it visit the Phoenix Media Rename settings page. (thanks to @ortonom for the suggestion)
    Please Note: the free plugin Redirection is required to add and manage the 301 redirection

3.2.5

  • fixed minor issue in “option debug” management

3.2.4

  • fixed compatibility issue with WPML (many thanks to Diego Pereira for his help)

3.2.2

  • fixed issue when plugin is called via code from frontend

3.2.1

  • fixed compatibility issue with Archivarix External Images Importer

3.2.0

  • changed rename process management
  • added new option “debug mode”
  • pushed minimum required WordPress version to 5.0
  • pushed minimum required PHP version to 7.1

3.1.0

  • added new bulk operations “Rename from post” and “Rename and retitle from post”, that gets the name for the media files from the post they are attached to
  • changed database table creation logic (thanks to @rinatkhaziev for the contribution)

3.0.5

  • fixed issue with ShortPixel

3.0.4

  • fixed javascript error on single media page

3.0.3

  • changed filename textbox size in attachment page

3.0.1

  • fixed issue with older php versions

3.0.0

  • added support for filename serialization

2.3.0

  • added action ‘pmr_renaming_successful’

2.2.5

  • changed renaming error message to have more information about the source of the error

2.2.4

  • fixed error with old files stored in year- month- based subfolders (many thanks to @jockolad who addressed the issue)

2.2.3

  • fixed distribution error

2.2.2

  • fixed issue with media files organized in subfolders

2.2.1

  • fixed another issue with new big image management introduced in WordPress 5.3

2.2.0

  • fixed issue with new big image management introduced in WordPress 5.3
  • fixed issue with shortpixel image optimiser

2.1.1

  • popravljena zadana vrijednost za opciju sanitizacije akcenata

2.1.0

  • dodana opcija za upravljanje sanitizacijom akcenata u imenu datoteke

2.0.3

  • popravljen problem s multisite (puno hvala @synetech za popravak te stvari)

2.0.2

  • popravljena podrška lokalizaciji za poveznice i stranicu postavki na listi dodataka

2.0.1

  • dodana poveznica na stranicu postavki na listi dodataka

2.0.0

  • dodana stranica postavki

1.4.0

  • dodana podrška za elementor

1.3.4

  • promijenjeno upravljanje naslovima objava u grupnim radnjama

1.3.3

  • Popravljen problem s WPML

1.3.2

  • uklonjena nepotrebna php upozorenja iz log datoteke (zahvaljujući @alx359)

1.3.1

  • uklonjena nepotrebna php upozorenja iz log datoteke (zahvaljujući @alx359)

1.3.0

  • Popravljen problem s WPML

1.2.6

  • Popravljen problem s WP Compress dodatkom

1.2.5

  • Isključeno dugme pošalji tijekom grupnog preimenovanja
  • Dodana js minifikacija

1.2.4

  • Popravljena pogreška u Smart Slider ažuriranju prilagođenih tablica

1.2.3

  • Popravljena pogreška u Smart Slider ažuriranju prilagođenih tablica

1.2.2

  • Optimiziran sql za Smart Slider ažuriranje pametnih tablica

1.2.1

  • Popravljena pogreška u Smart Slider ažuriranju prilagođenih tablica

1.2.0

  • Dodana podrška za Smart Slider

1.1.4

  • popravljeno upozorenje s ajaxom na php 7

1.1.3

  • dodana podrška za ne-latin znakove u imenu datoteke

1.1.2

  • dodana sanitizacija imenima datoteka

1.1.1

  • dodana licenca za ikonu feniksa

1.1.0

  • dodana podrška za lokalizaciju

1.0.1

  • popravljeno korisničko ime autora

1.0.0

  • Početna inačica