if ( ! function_exists( ‘minimatica_paged_posts’ ) ) : /** * Overrides the default posts_per_page value when viewing in gallery mode * This prevents the 404 flag from being triggered when using query_posts() with pagination * It does not alter the database value for the option, only fiters it when the posts query is called * * @since Minimatica 1.0 */ function minimatica_paged_posts( $query ) { if( ( ( $query->is_home() && ‘gallery’ == minimatica_get_option( ‘homepage_view’ ) ) || ( $query->is_category() && ‘gallery’ == minimatica_get_option( ‘category_view’ ) ) || ( $query->is_tag() && ‘gallery’ == minimatica_get_option( ‘tag_view’ ) ) || ( $query->is_author() && ‘gallery’ == minimatica_get_option( ‘author_view’ ) ) || ( $query->is_archive() && ‘gallery’ == minimatica_get_option( ‘archive_view’ ) ) ) && ( ! is_single() ) ) $query->set( ‘posts_per_page’, ‘4’ ); } endif;
</figure><!-- .entry-attachment --> -1, ‘post_type’ => ‘attachment’, ‘post_mime_type’ => ‘image’, ‘post_parent’ => get_the_ID() ); $attachments = get_posts( $args ); // Reverse array to display them in chronological form instead of reverse chronological //La ligne ci-dessous inverse l’ordre d’apparition des images à une page jointe.
if ( ! function_exists( 'minimatica_post_video' ) ) : /** * Video playback support for post with the video format * * Displays the attached video in a HTML5 <video> tag with flash fallback * If more then one attached video is found, they are used as fallback to the first one * Should work in most if not all browsers :) * * @uses get_posts() To retrieve attached videos * * @since Minimatica 1.0 */ function minimatica_post_video() { // Get attached videos $args = array( ‘numberposts’ => -1, ‘post_type’ => ‘attachment’, ‘post_mime_type’ => ‘video’, ‘post_parent’ => get_the_ID() ); $attachments = get_posts( $args ); // Reverse array to display them in chronological form instead of reverse chronological $attachments = array_reverse( $attachments ); if( count( $attachments ) ) : // Detect flash video format to use it as fallback $mime_types = array(); foreach( $attachments as $attachment ) : if( $attachment->post_mime_type == ‘video/x-flv’ ) $flash_video = $attachment; endforeach; endif; if( count( $attachments ) && ! post_password_required() ) : ?> <div class="entry-attachment"> <video controls width="700" height="444" poster=" » id= »video-player »>
if ( ! function_exists( 'minimatica_post_audio' ) ) : /** * Audio playback support for post with the audio format * * Displays the attached audio files in a HTML5 <audio> tag with flash fallback * If more then one attached audio file is found, they are used as fallback to the first one * Should work in most if not all browsers :) * * @uses get_posts() To retrieve attached audio files * * @since Minimatica 1.0 */ function minimatica_post_audio() { // Get attached audio files $args = array( ‘numberposts’ => -1, ‘post_type’ => ‘attachment’, ‘post_mime_type’ => ‘audio’, ‘post_parent’ => get_the_ID() ); $attachments = get_posts( $args ); // Reverse array to display them in chronological form instead of reverse chronological $attachments = array_reverse( $attachments ); if( count( $attachments ) ) : // Detect MP3 file to use it as flash fallback $mime_types = array(); foreach( $attachments as $attachment ) : if( $attachment->post_mime_type == ‘audio/mpeg’ ) $flash_audio = $attachment; endforeach; endif; if( count( $attachments ) && ! post_password_required() ) : ?> <div class="entry-attachment"> <audio controls id="player">
le sujet date un peu mais comme vous etes des utilisateurs de minimatica peut etre pourrez vous m’aider.
J’ai un problème d’ordre d’affichage avec mes images. J’ai attaché plusieurs images à un article. Celles-ci s’affichent sans problème dans l’article cependant je ne peux pas en changer l’ordre, je suppose qu’il dépend de la date d’upload de l’image. Impossible de changer cette date (à moins de supprimer la photo pour la ré-up).
J’avais la première offre classique avec 2,5go d’espace de stockage. Mais ils ont mis a jour leur tarif et pour le meme prix j’ai maintenant l’offre « Essentiel » avec 10go d’espace de stockage.
En fait ça venait de mon hébergeur. Mon quota était atteint.
Je voyais bien 500mo d’espace libre mais c’est en fait 500mo de dédiés à divers script (je ne sais pas lequels) j’étais donc limité à 2go et non 2,5go comme je le pensais (il n’est pas fait mention de ces 500Mo inutilisable lors de l’achat -_-‘)
Les images up sont en effet assez grande (bien que 5 fois plus petites que les originales) mais elle sont réduit à l’affichage.
Ce que je ne comprends pas c’est pourquoi certaines image peuvent etre up sans problèmes alors que d’autres, exactement similaire en poids, taille et format ne le peuvent pas.
COmme plugin j’ai :
– Contact Form Plugin
– Easy Table Creator
– Global Translator
– Image Widget
– Light box Plus
– Meteor Slide
– Widget Logic
J’ai cependant toujours le même problème. Je ne vois pas comment y remédier.
Auteur
Messages
15 sujets de 1 à 15 (sur un total de 15)
Défiler vers le haut
Gérer le consentement aux cookies
Pour offrir les meilleures expériences, nous utilisons des technologies telles que les cookies pour stocker et/ou accéder aux informations des appareils. Le fait de consentir à ces technologies nous permettra de traiter des données telles que le comportement de navigation ou les ID uniques sur ce site. Le fait de ne pas consentir ou de retirer son consentement peut avoir un effet négatif sur certaines caractéristiques et fonctions.
Fonctionnel
Toujours activé
Le stockage ou l’accès technique est strictement nécessaire dans la finalité d’intérêt légitime de permettre l’utilisation d’un service spécifique explicitement demandé par l’abonné ou l’utilisateur, ou dans le seul but d’effectuer la transmission d’une communication sur un réseau de communications électroniques.
Préférences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistiques
Le stockage ou l’accès technique qui est utilisé exclusivement à des fins statistiques.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
Le stockage ou l’accès technique est nécessaire pour créer des profils d’utilisateurs afin d’envoyer des publicités, ou pour suivre l’utilisateur sur un site web ou sur plusieurs sites web à des fins de marketing similaires.