Sub Footer Settings regard

Posted in: Newspaper
Post count: 140

Hi team

Today i am looking to add custom link using subfooter along with our site name. http://prntscr.com/8z8x1e

But when i add followed link along with subfooter,


Proudly Hosted by Cloudways

it points to wrong URL and not rendering properly.

Will you please help me to resolve the same.

Post count: 22421

Hello,

The text box from the theme panel does not support html code by default. It gets removed by the theme so a link inserted here will not work without customization.
Modify the code in footer.php – http://screencast.com/t/bUR2WvmmY
echo stripslashes($tds_footer_copyright);
And also remove this code – http://screencast.com/t/dkdikkHCAJD1 so the html will not be removed from the panel.
Then you can add your link in the text box as before and it should work this time.

Thank you!

Post count: 140

Let me try your suggestions and revert you back soon.

Post count: 140

Its works! Thanks.

Is it possible to show to footer link in specific pages only?

Post count: 22421

Hello,
The easiest method would be with CSS. You can identify the page id: http://screencast.com/t/9fDaCbodJEfr and use it to target the specific pages you want to remove the link from. You can use the display:none property.
Thank you!

Post count: 140

Hi bogdon

As per latest Google algorithm, hiding links via CSS is not advisable. Will you suggest me the better option?

Post count: 22421

Hello,

Another way to do it is by adding a condition in Footer.php: http://screencast.com/t/ZaTaJqXngY using this reference: https://codex.wordpress.org/Function_Reference/is_page.
I hope this helps.

Thank you!

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.