Sandra Romano
Forum Replies Created
-
Thanks a lot! It worked perfectly. I had tried the first approach, but it broke the tag. The helper function is what I needed.
Many, many thanks!
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Sort posts by titleNevermind! I’ve done it. Here’s the code:
function terminos_contenidos_enorden( $atts ) { $pod = pods( 'referencia', get_the_id() ); $params = array( 'orderby' => 'post_title' ); $related = $pod->field( 'termino_contenido', $params ); if ( ! empty( $related ) ) { echo '<ul class="hoja">'; foreach ( $related as $rel ) { $id = $rel[ 'ID' ]; echo '<li><a href="'.esc_url( get_permalink( $id ) ).'">'.get_the_title( $id ).'</a></li>'; } echo '</ul>'; } //endif ! empty ( $related ) } add_shortcode( 'term_con', 'terminos_contenidos_enorden');
- This reply was modified 2 years, 1 month ago by Sandra Romano.
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Sort posts by titleThanks!
I have tried to make a shortcode, to be able to put all this in an Elementor page. This is what I have so far, but it doesn’t work:
function terminos_relacionados_alphabetic( $atts ) { $referencia = pods('referencia', get_the_ID() ); $args = [ 'name' => 'termino_contenido', 'orderby' => 'title', 'order' => DESC, ]; $pod = $referencia->field( $args ); if( $pod->exists() ){ $related = $pod->field('termino_contenido.ID'); echo '<ul class="hoja">'; if ( ! empty( $related ) ) { foreach ( $related as $id ) { $title = get_the_title($id); $link = get_permalink($id); echo '<li><a href="' . $link . '">' . $title . '</a></li>'; } echo '</ul>'; } } } add_shortcode( 'term_rel', 'terminos_relacionados_alphabetic');
Any idea? Many thanks!
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Sort posts by titleOh, thank you very much! I am going to try that, then. I am not php-savvy at all, let’s see what happens. Thanks a lot!
Forum: Plugins
In reply to: [A-Z Listing] Tabbed Panel ErrorI have the same problem. How can it be fixed? Many thanks for your help.
Forum: Plugins
In reply to: [Glossary] Tooltips not appearing in tagsOk, thanks!
Forum: Plugins
In reply to: [Glossary] Tooltips not appearing in tagsSorry! I’ll try to write it properly:
Hi there! Thank you very much for this excellent plugin!
I need to tag with<pre>
some of my contents, but I am unable to make the terms appear as links or tooltips inside them. How can I fix this?
Thanks for any help!Excellent support and great plugin. Thanks a lot!
Hi! Thank you very much. I feel unable to turn that off. Thanks for your time.
It is not a separate plugin for lightbox, the theme itself contains lightbox functionality to show images in a portfolio custom post type. I cannot deactivate it.
Forum: Plugins
In reply to: [Advanced Forms for ACF] Error when saving form to ACF fieldsMany thanks, Fabian! Everything is ok by now.
Forum: Plugins
In reply to: [Advanced Forms for ACF] Editing postsHi Fabian! Thanks a lot for your answer, but I am going to write directly to the support page, then. I’m afraid I am not able to understand your code…
Thanks again. Greetings.Forum: Plugins
In reply to: [Participants Database] Record Update email to participantOh, thanks!!
I’ll try to work out how to do it…Forum: Plugins
In reply to: [Participants Database] CAPTCHA input not recognizedOh, I see.
Well, the regex solution is a good option.Thanks a lot!
Forum: Plugins
In reply to: [Participants Database] CAPTCHA input not recognizedDear xnau,
Many thanks for the plugin!
I’m having the same issue, but I’m afraid I cannot change anything in my web host.
Do you recommend any other good math captcha to use with the plugin?
Thanks again.