alejodec
Forum Replies Created
-
Perfect!!!
Many thanks!! 🙂Sorry, this link:
I’m having everything featured picture, I close the topic.
Anyway note my problem for future updates.
Thank you very much for your interest.
a hugEnglish, fine.
Nelio The information is in the database (the path), but within each entry – post, no. Migrate host, that’s why I have the problem because they are 1,400 post I have to correct.
The only thing I could do for the migration is to export / import from WordPress, not from my host with cpanel.
From what I understand, the importer for some reason does not take Nelio as custom field, everybody else is fine.
Hopefully you were able to express myself well.
Thank you so muchForum: Hacks
In reply to: Paginate a list a custom taxonomy description, please help.I found the solution, share the complete code for which you have the same problem.
<?php $page = ( get_query_var('paged') ) ? get_query_var( 'paged' ) : 1; $per_page = 10; $offset = ( $page-1 ) * $per_page; $args = array( 'orderby' => 'slug', 'number' => $per_page, 'offset' => $offset, 'paged' => $paged ); ?> <?php $taxonomy = "actor"; $terms =get_terms($taxonomy, $args ); echo "<ul>"; foreach ($terms as $term) { echo "<li>" . $term->description . "</li>"; } echo "</ul>"; ?> <?php $total_terms = wp_count_terms('actor'); $pages = ceil($total_terms/$per_page); if( $pages > 0 ): echo '<div class="paginterna">'; for ($pagecount=1; $pagecount <= $pages; $pagecount++): if ($paged == $pagecount) : $ruta = '<span class="maspaginas">Pág.' . $pagecount . '</span>'; else: if ($pagecount == 1 and $paged <=1): $ruta = '<span class="maspaginas">Pág.' . $pagecount . '</span>'; else: $ruta = '<span class="maspaginas"><a href="'.get_permalink().'page/'.$pagecount.'/">Pág. '.$pagecount.'</a></span>'; endif; endif; echo $ruta; endfor; echo '</div>'; endif; ?>Forum: Hacks
In reply to: Paginate a list a custom taxonomy description, please help.I found this code which does the same, which seems to me more effective but still can paginate.
<?php $taxonomy = "actor"; $terms =get_terms($taxonomy); $count=count($terms); if ( $count > 0 ) { echo "<ul>"; foreach ($terms as $term) { echo "<li>" . $term->description . "</li>"; } echo "</ul>"; } ?>Forum: Hacks
In reply to: Paginate a list a custom taxonomy description, please help.Sorry, I forgot to mention that I use the plugin WP-PageNavi for the rest of my posts.
Forum: Plugins
In reply to: [WP-PageNavi] WP-pagenav in listing description taxonomies.Ok, many thanks for the answer.
Forum: Plugins
In reply to: [Dave's WordPress Live Search] Problem with image from urlThe author of “External Nelio Featured Image” has solved my problem immediately (excellent support) adding in my functions.php:
add_filter( "dwls_attachment_thumbnail", "use_nelio_ext_fi", 10, 1 ); function use_nelio_ext_fi( $old_featured_image ) { global $post; $image_url = get_post_meta( $post->ID, '_nelioefi_url', true ); if ( $image_url && strlen( $image_url ) > 0 ) return $image_url; else return $old_featured_image; }Regards
Ohhh ….. Thank you, IT WORKS!!
Thank you very much not only for the solution, but for your time and dedication to provide the solution, for teaching and for this great plugin.
Regards from Argentina.