babouz44
Forum Replies Created
-
Forum: Plugins
In reply to: [Recent Posts Widget Extended] Sticky postEDIT : haha in fact I forgot that I have made a change, that is why it’s work 😉
so edit recent-posts-widget-extended/includes/function.php
at the end add before //Exclude current post :
// Exclude sticky post
if ( $args[‘ignore_sticky’] ) {
$query[‘post__not_in’] = get_option( ‘sticky_posts’ );
}Forum: Plugins
In reply to: [Recent Posts Widget Extended] Sticky postWell hummm… solved because I deactivated and reactivated all plugins… now the “ignore sticky post” is well known and works…
Forum: Plugins
In reply to: [Recent Posts Widget Extended] Read More doesn't link to anythingHello,
Have you the last version of the plugin and have you made some change in the plugin’s files ?
And have you made some change in your theme about the excerpt ? It seems that in your plugin, the end of the excerpt is like […] it shouldn’t be like this with the last plugin version.Forum: Plugins
In reply to: [Recent Posts Widget Extended] Sticky postUp !
Is there anybody for helping please ?Forum: Plugins
In reply to: [Polylang] Custom Post TypeOk so I’m going to bed…
I tested with just the two plugins YOAST and Polylang. And it’s WORKS !
So I just desactivated all plugins and reactivated all one by one to see which one was causing this issues… and voilà ! no one !
All plugin are reactivated and I didn’t change something in my code…Forum: Plugins
In reply to: [Polylang] Custom Post TypeArfff… well it seems there is a conflic with YOAST SEO…
Forum: Plugins
In reply to: [Polylang] Custom Post TypeSorry I forgot to say that I set the permalink global settings to “article name”.
When I choose “simple”, it works fine…And my custom post type and custom taxonomies are well checked in Polylang settings…
Forum: Plugins
In reply to: [Polylang] Custom Post TypeI don’t know if it help, but here is my register post type function :
function project_custom_init() { $labels = array( 'name' => _x('Réalisations'), 'singular_name' => _x('Réalisation'), 'add_new' => _x('Ajouter', 'project'), 'add_new_item' => __('Ajouter une réalisation'), 'edit_item' => __('Editer la réalisation'), 'new_item' => __('Nouvelle réalisation'), 'view_item' => __('Voir la réalisation'), 'search_items' => __('Rechercher une réalisation'), 'not_found' => __('Aucune réalisation'), 'not_found_in_trash' => __('Aucune réalisation trouvée'), 'parent_item_colon' => '', 'menu_name' => 'Réalisations' ); $args = array( 'labels' => $labels, 'menu_position' => 4, 'public' => true, 'publicly_queryable' => true, 'show_ui' => true, 'show_in_menu' => true, 'query_var' => true, 'rewrite' => true, 'capability_type' => 'post', 'has_archive' => false, 'hierarchical' => false, 'supports' => array('title','editor','custom-fields','thumbnail','excerpt'), ); // The following is the main step where we register the post. register_post_type('project',$args); // Initialize New Taxonomy Labels $labels = array( 'name' => _x( 'Catégories (ref)', 'taxonomy general name' ), 'singular_name' => _x( 'Catégorie', 'taxonomy singular name' ), 'search_items' => __( 'Rechercher' ), 'all_items' => __( 'Toutes les catégories' ), 'parent_item' => __( 'Catégorie parente' ), 'parent_item_colon' => __( 'Catégorie parente :' ), 'edit_item' => __( 'Editer la catégorie' ), 'update_item' => __( 'Mettre à jour' ), 'add_new_item' => __( 'Ajouter une catégorie' ), 'new_item_name' => __( 'Nouveau nom de catégorie' ), ); // Custom taxonomy for Project Tags register_taxonomy('tagportfolio',array('project'), array( 'hierarchical' => true, 'labels' => $labels, 'show_ui' => true, 'query_var' => true, 'show_admin_column' => true, 'show_in_nav_menus' => true, 'rewrite' => array( 'slug' => 'categorie-realisation' ) )); }it seems to always work with rel=”lightbox” 🙂
ok, so if you use “siteorigin image” to place an image, you can’t add the rel attribute…
so you have to use “siteorigin editor” and then add an image in the content with the “add media” button. Then in “rel attribute of link”, put “lightbox” after the element already existing. And don’t forget to link the image with the media file.
our website is under construction… try this page http://www.rev-asso.top/les-commissions/
Hum, I have exactly the same problem… I’m realy intersted by the answer 🙂
Hello,
you were right. I disabled smart quotes in functions.php and it seems to work again.
I never had this issue before…
Anyway, thank you for the help !Ok, thank you for these informations. In fact only drag and drop doesn’t works. I can set the order manualy by giving the number but it’s not really intuitive…
For exemple the first image should have number 2 and the second the number 1…