erismarcds
Forum Replies Created
-
Forum: Plugins
In reply to: [WordPress Popular Posts] Hello, I need help, the plugin not working.I changed the plugins Owl Carousel, but it’s still the same.
Forum: Plugins
In reply to: [WordPress Popular Posts] Hello, I need help, the plugin not working.Thank you, it worked.
- This reply was modified 10 months, 2 weeks ago by erismarcds.
Forum: Plugins
In reply to: [WordPress Popular Posts] Secondary Titlesorry about that
and thanks for helping me.
Forum: Plugins
In reply to: [WordPress Popular Posts] Secondary TitleI understand
I can make a donation and you can help me with this, if possible, or how much you charge to do this.
please
Forum: Plugins
In reply to: [WordPress Popular Posts] Secondary Titleif possible how to add get_permalink (); on them
Forum: Plugins
In reply to: [WordPress Popular Posts] Secondary Titleif it is not too uncomfortable help me with this thing.
I would also like to show the artists for each album.
tried this more it worked.
<?php $songId = get_the_ID(); $artistaId = get_post_meta($songId, 'theme2035_album_artista_name', true); if($artistaId != ""){ $get_artista_name = new WP_Query( array( 'post_type' => 'artista', 'posts_per_page' => -1, 'p' => $artistaId, )); if( $get_artista_name->have_posts() ) : while( $get_artista_name->have_posts() ) : $get_artista_name->the_post(); $artista_name = get_the_title(); $artista_link = get_permalink(); endwhile; endif; ?> <a href="<?php echo esc_attr($artista_link); ?>"><?php echo esc_attr($artista_name); ?></a>
/** * Parses custom content tags in WordPress Popular Posts. * * @param string $html The HTML markup from the plugin. * @param integer $post_id The post/page ID. * @return string */ function wpp_parse_tags_in_popular_posts($html, $post_id){ // Replace custom content tag {artista_name} // with the actual secondary title if ( false !== strpos($html, '{artista_name}') && function_exists('has_artista_name') ) { // If the post has a secondary title, replace // the content tag {artista_name} with // the secondary title if ( has_artista_name($post_id) ) { $artista_name = get_artista_name($post_id); $html = str_replace('{artista_name}', $get_artista_name, $html); } } // Replace custom content tag {secondary_title} // with the actual secondary title if ( false !== strpos($html, '{secondary_title}') && function_exists('has_secondary_title') ) { // If the post has a secondary title, replace // the content tag {secondary_title} with // the secondary title if ( has_secondary_title($post_id) ) { $secondary_title = get_secondary_title($post_id); $html = str_replace('{secondary_title}', $secondary_title, $html); } } return $html; } add_filter("wpp_parse_custom_content_tags", "wpp_parse_tags_in_popular_posts", 10, 2);
Forum: Plugins
In reply to: [WordPress Popular Posts] Secondary TitleI actually wanted to make the title appear. secondary title
if you can help me thank you very much.Forum: Plugins
In reply to: [WordPress Popular Posts] Custom Post TypesI would like to add thumbnail and manual title, but it shows what comes in the plug-in ‘<ul class = “wpp-list”>’, if you want to send my site, I don’t know much about PHP. Pardon my English.
<?php $args = array( 'post_type' => 'post, page, <div class="img" style="background-image:url(<?php echo get_the_post_thumbnail_url( $post_id, 'large' ); ?>);"> </div>' // comma separated ); wpp_get_mostpopular($args); ?>
Forum: Plugins
In reply to: [Top 10 - WordPress Popular posts by WebberZone] numbers postsNo, I want to add list of numbers not by short code.