MZBS
Forum Replies Created
-
Forum: Plugins
In reply to: [Social Count Plus] See numbers with decimal separatorGreat!
That is working perfectly for me.
Thank you so much!
Forum: Plugins
In reply to: [Social Count Plus] See numbers with decimal separatorNo,
I am just using this <?php echo get_scp_twitter(); ?> etc in my sidebar and in the footer to get plain text of my fans in social networks and I want to see the decimal separation in those numbers.
But nothing changes with the function in the functions.php
Thank you!
Forum: Plugins
In reply to: [Social Count Plus] See numbers with decimal separatorHello,
I don’t see any change adding those lines on functions.php.
I need to change anything else?
Thank you!
Forum: Plugins
In reply to: [Social Count Plus] Total Social Influence CounterGreat!!
So fast. Thank you so much!
I am using All In One SEO Pack.
However the title of the page is correct. Is only on categories (taxonomies are ok):
Look this: https://www.informeclooney.com/madrid/categoria/lugares/cockteleria/
The title there is: “Cockteleria en Madrid….”
and if I debug it on Facebook:
You would see that the og:title is “Evaristo” that is the first post of that page but the Title of the page is correctly.
Forum: Fixing WordPress
In reply to: Show post of a category if exist. Else show post of other categoryNow I have this:
<?php $reciente = new WP_Query("cat=6&showposts=1"); if($reciente->have_posts()) : $reciente->the_post();?> <p class="newshome"><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></p> <p class="fechahome"><?php the_time('j/m/Y'); ?></p> <div class="entryhome"> <?php the_excerpt(''); ?> </div> <?php endif; ?> <?php $reciente = new WP_Query("cat=3&showposts=1"); while($reciente->have_posts()) : $reciente->the_post();?> <p class="newshome"><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></p> <p class="fechahome"><?php the_time('j/m/Y'); ?></p> <div class="entryhome"> <?php the_excerpt(''); ?> </div> <?php endwhile; ?> <?php $reciente2 = new WP_Query("cat=7&showposts=1"); if($reciente2->have_posts()) : $reciente2->the_post();?> <p class="newshome"><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></p> <p class="fechahome"><?php the_time('j/m/Y'); ?></p> <div class="entryhome"> <?php the_excerpt(''); ?> </div> <?php endif; ?> <?php $reciente2 = new WP_Query("cat=3&showposts=1"); while($reciente2->have_posts()) : $reciente2->the_post();?> <p class="newshome"><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></p> <p class="fechahome"><?php the_time('j/m/Y'); ?></p> <div class="entryhome"> <?php the_excerpt(''); ?> </div> <?php endwhile; ?>
So if there is no post in cat 6 or 7 i get the last posts of the general cat 3. Correct. But the problem is that if there is no post in the cat. 6 and also in cat 7. i get the same last post in the first and the second area.
So i need a new conditional that check if in the first area is the last post of the cat 3, so in the second area should get the penultimate post.
Thanks!