How to add some info in databases.php

17 views
Skip to first unread message

Izwan Salim

unread,
Oct 13, 2022, 10:43:02 AM10/13/22
to SubjectsPlus
Dear all

I plan to add some info/links in the red area below
Capture.PNG
Where and how should I add the code? Example URL

Is it in functions.php?

charlesbr...@gmail.com

unread,
Oct 13, 2022, 1:37:11 PM10/13/22
to SubjectsPlus
Hello,
If you're using the default theme then /subjects/databases.php line 195
example:
$new_content = "<div>links go here</div>";
$display = $intro . $new_content . $out;

otherwise, if you're using a custom theme: /subjects/themes/<theme>/databases.php

Thanks,
Charles

Izwan Salim

unread,
Oct 13, 2022, 7:43:59 PM10/13/22
to SubjectsPlus
Thanks, Charles

It works.

$ptar_links = "<div><a href=\"pdat.php?letter=bytype&type=Online%20Databases\">Online Database</a></div>";
$display = $intro . $ptar_links . $out;

Thank you
Reply all
Reply to author
Forward
0 new messages