Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to show more characters in title section #5

Open
tasinone opened this issue Jun 4, 2023 · 1 comment
Open

How to show more characters in title section #5

tasinone opened this issue Jun 4, 2023 · 1 comment

Comments

@tasinone
Copy link

tasinone commented Jun 4, 2023

I would love to show some more characters in the title section. Can you tell me exactly where I should edit the code to do that or how can I do that?
Screenshot-9

@artyuum
Copy link
Owner

artyuum commented Jun 4, 2023

<?= htmlspecialchars(substr($row['title'], 0, 15), ENT_QUOTES, 'UTF-8') ?>

Increment the 3rd argument of the substr() function. For example if you want to display 50 characters, you would change it like this:

substr($row['title'], 0, 50)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants