Eberth Manuel Torres
Forum Replies Created
-
I’ve wrote them thru Forum, even Facebook, but no answer
Forum: Plugins
In reply to: [Advanced Custom Fields: Extended] Post Type Module: CPT not show in Nav MenuNevermind
The problem was the owl js function
I solved this by using the “after a post has loaded” trigger
Thanks
i have a function that change original wordpress gallery
add_shortcode( 'gallery', 'modified_gallery_shortcode' ); function modified_gallery_shortcode($attr) { if(!empty($attr["normal"]) && $attr["normal"] == "true"){ $output = gallery_shortcode($attr); } else { $image_ids = explode(',', $attr['ids']); $output = ''; $size = 'destacada'; // Forzar un tamano foreach($image_ids as $attachment_id) { $img_src = esc_url( wp_get_attachment_image_url( $attachment_id, $size ) ); $img_src_owl = esc_url( wp_get_attachment_image_url( $attachment_id, 'full' ) ); $img_srcset = esc_attr( wp_get_attachment_image_srcset( $attachment_id, $size ) ); $alt = esc_attr ( get_post_meta($attachment_id, '_wp_attachment_image_alt', true) ); $link = esc_attr ( get_post_meta($attachment_id, '_gallery_link_url', true) ); $the_attachment = get_post($attachment_id); // post $caption = esc_attr ( $the_attachment->post_excerpt ); $img = "<img src='" . $img_src . "' srcset='" . $img_srcset . "' sizes='" . auto . "' alt='" . $alt . "'>"; $link = "<a href='" . $img_src_owl . "' class='galeria'>" . $img . "</a>"; $caption = "<figcaption>" . $caption . "</figcaption>"; $item = "<div class='item news-post image-post3'>" . $link . $caption . "</div>"; $output .= $item; } $output = '<div class="carousel-box owl-wrapper gallery-post">'. '<div class="title-section"><h3><span>Galería</span></h3></div>'. '<div class="owl-carousel" data-num="3">'. $output . '</div>'. '</div>' ; } return $output; }
That does not work too, any idea?
Forum: Plugins
In reply to: [Magic Fields 2] Error in single post typeThe problem was the Multiline Editor, i changed it to Markdown Editor and the problem was solved.
If you can fix it, because it is mode useful de Multiline Editor.
Thanks
Forum: Plugins
In reply to: [Extra User Details] update pluginActually, if you deactivate the plugin, the extra details still showing, so, i activate when i need it, and then deactivate again.
that’s my quick solution.
??
Forum: Plugins
In reply to: [Magic Fields 2] Fields Not Saving After PublishWell, we update the version PHP 5.3.8 (not including the max_input_vars, was included in 5.3.9) to version 5.3.20.
Until now I have not had the problem.
I hope it’s that.
Thank you!
Forum: Plugins
In reply to: [Magic Fields 2] Fields Not Saving After PublishSame problem.
add some duplicate groups, publish, when i got back, realize that some of them are not being saved and the other ones are order randomly.
Can you fix it, its really important to me save correctly all the duplicates fields, with the exact order.
*autoverse: i dont even install Advanced Custom Fields, so thats not the problem.
Thanks a lot, even this issue, the plugin is a great option!
Keep it alive