Move Tags from Sharing Box to share (underneath)

Posted in: Newspaper
Post count: 317

Hi!

I would like to remove the Tags from the social sharing box to under the Source/Via. How can I do that? I mean, what’s the PHP String for it? I know PHP a bit and I will be able to do it my self if I know the string for it. I tried to get tags by using this

get_tags();

But it didn’t worked. Please help me.

Thanks!

Post count: 317

Anyone please help.

Post count: 317

tagDiv @radu Please help!!!!!

Post count: 159

Hey Dude, it’s weekend!!!

Look for tag strings<?php echo $this->get_the_tags();?>
and put it above <?php echo $this->get_source_and_via();?>

Post count: 854

hi,
thanks mbasche for your answer

Thanks for you message.
Radu A.

Post count: 317

Thanks @mbasche.

Unfortunately, it didn’t helped. It did displayed tags after Source/Via but how can I remove tags from the Sharing box? It looks like, @radu and tagDiv inserted sharing and tags both in one string.

Please help.

Thanks!

Post count: 854

hi,
mehedi you said you have some php skills, maybe its time to upgrade this skills, don’t just wait for a copy and paste solution.

if you need to remove the tags from the string just remove them with the delete button.

Thanks for you message.
Radu A.

Post count: 317

Hey Radu,

There is no separate strings for Sharing box and Tags, they’re together (I guess). If I remove the Sharing Box’s string, the sharing box doesn’t show up.

Any idea?

Thanks!

Post count: 317

Fixed it! Removed this line of code from /includes/modules/module_modifier/td_module_blog.php Line 129

The Code:

$this_post_tags = $this->get_the_tags();
if(!empty($this_post_tags)) {
$wrapper_post_tags = ‘<div class=”td-tags-and-social-wrapper-box ‘ . $closing_class_tags . ‘”> ‘ . $this_post_tags . ‘</div>’; }

Thanks!

  • This reply was modified 12 years by mehedi.
  • This reply was modified 12 years by mehedi.
  • This reply was modified 12 years by mehedi.
  • This reply was modified 12 years by mehedi.
Post count: 1291

Hi,

You can still show the tags on posts, just add this code into the loop-single.php file:
http://screencast.com/t/1UXn8sTfE

<?php
            $closing_c_tags = 'td-tags-and-social-wrapper-box-bottom-line';
            $t_post_tags = $td_mod_single->get_the_tags();
            if(!empty($t_post_tags)) {
                $post_tags_wr = '<div class="td-tags-and-social-wrapper-box ' . $closing_c_tags . '"> ' . $t_post_tags . '</div>';
            }
            echo $post_tags_wr;
            ?>

Thank you, Emil G.

Viewing 10 posts - 1 through 10 (of 10 total)
You must be logged in to reply to this topic.