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 :)
Sijpkens
tagDiv Member

Hi Catalin,
Thanks for the explanation.
I put the code on the right place in td_module.php. I can place the oter code in td_module_4.php (and td_module_1.php), but when I try to place it in td_module_10.php or td_module_11.php i get this error:
Your PHP code changes were rolled back due to an error on line 27 of file wp-content/themes/Newspaper-child/includes/modules/td_module_11.php. Please fix and try saving again.

Call to undefined method td_module_11::get_source_and_via()

How can I put your suggested code in td_module_11.php?

Sijpkens
tagDiv Member

Hello Catalin,
I fully understand, but it should be able to work in homepage modules as stated on https://themeforest.net/item/newspaper/5489609/comments?page=527&filter=all#comment_15587309

Sijpkens
tagDiv Member

When I try to place <?php echo $this->get_source_and_via();?> into the editor, this error is shown:
Call to undefined method td_module_10::get_source_and_via()

Sijpkens
tagDiv Member

The code doesn’t seem to come across this platform, but the question is just how I can call the source url (submitted to a post in backend) to the custom code.

View post on imgur.com

  • This reply was modified 8 years by Sijpkens.
  • This reply was modified 8 years by Sijpkens.
  • This reply was modified 8 years by Sijpkens.
  • This reply was modified 8 years by Sijpkens.
Sijpkens
tagDiv Member

Hi,

Thanks for guiding me in the right direction.
I want to change the H3 title link at the end like this:
$buffy .='';
$buffy .= ' <i class="fa fa-external-link" aria-hidden="true"></i></h3>';
return $buffy;
}

On the “#” the filled in source link (added in backend) should be placed. How can I call that link?
Hope you can help me out.

Sijpkens
tagDiv Member

Hi,
I would like to place an icon (or simple “>”) next to title links on the homepage. This icon should link to an external url. I can code the icon and post specific url, but where in the code should I place it? I tried td_block_template_11.php, but with no result. I am using that block 11 for https://international-agriculture.com/.
Can you guide me?
Regards,

Victor

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