Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
Larry
tagDiv Member

Hello Bro!

Thank You for your awesome and very helpful reply.

I have successfully inserted the icons into module 3.

But the plugin is presently sharing the homepage on alone.
http://www.screencast.com/t/b4PWWitwYN

Please what should I insert into the function, to pull individual Post Url instead.

Here is my code.

<?php

class td_module_3 extends td_module {

function __construct($post) {
//run the parrent constructor
parent::__construct($post);
}

function render() {
ob_start();
?>

<div class=”<?php echo $this->get_module_classes();?>”>
<div class=”td-module-image”>
<?php echo $this->get_image(‘td_300x194’);?>
<?php if (td_util::get_option(‘tds_category_module_3’) == ‘yes’) { echo $this->get_category(); }?>
</div>
<?php echo $this->get_title();?>

<div class=”meta-info”>
<?php echo $this->get_author();?>
<?php echo $this->get_date();?>
<?php echo $this->get_comments();?>

</div>
<?php if(function_exists(‘social_warfare’)):
social_warfare(array( ‘use_current_page’ => true ));
endif;

?>

<?php echo $this->get_quotes_on_blocks(); ?>

</div>

<?php return ob_get_clean();
}
}

Larry
tagDiv Member

Update.
Please here is a link from the plugin developers on how to insert it.
https://warfareplugins.com/support/using-shortcodes-and-php-snippets/

Summary of the plugin.

Short Code- [social_warfare]

PHP function – social_warfare()

E.g

if(function_exists(‘social_warfare’)):
social_warfare();
endif;

Viewing 2 posts - 1 through 2 (of 2 total)