Commit graph

429 commits

Author SHA1 Message Date
danpros
85e4a52c3e Update functions.php 2025-08-17 12:15:30 +07:00
danpros
e3375ca82e Update functions.php 2025-08-16 18:33:35 +07:00
Dan
01823dd01d Update functions.php 2025-07-05 08:18:31 +07:00
Dan
bace4ef940 Remove color-scheme
This break the old theme. This should be added to layout.html.php manually
2025-07-04 09:23:41 +07:00
andrigamerita
c387e83f54
Add support for Bing Webmaster Tools site verification 2025-06-06 13:37:58 +02:00
Damian
be45b3ea00
Add color-scheme meta tag to heads of all content 2025-05-07 19:28:52 -04:00
Dan
e5d7d0a106 Update functions.php 2025-04-20 19:52:12 +07:00
Dan
579135fbef Improve metatags
Include title, description, canonical into $metatags for easy theming.
2025-04-20 12:01:11 +07:00
Dan
1f62b1a00c Update functions.php 2025-04-20 10:27:17 +07:00
Dan
8f08f2f547 Fix bootstrap 5 dropdown menu 2025-04-20 10:08:08 +07:00
Dan
1e641b6043 Update version 2025-03-28 13:30:37 +07:00
Dan
f59febfa29 Improve performance
Previously, to count the number of posts, you needed a separate function. Now, that's no longer the case.
2025-03-28 08:01:39 +07:00
Dan
e2ba3fb06b Handle null value 2025-03-27 09:21:25 +07:00
Dan
0c300b5077 Split the recent_type()
The recent_type() only return post type. Add recent_category(), and recent_profile_posts()
2025-03-26 18:36:15 +07:00
Dan
280af1cb2d Update functions.php 2025-03-25 23:19:26 +07:00
Dan
6e667b4348 Added $p->raw/$author->raw
Use this to get the data from get_field().
2025-03-17 16:06:57 +07:00
Dan
4081319e52 Remove space before and after 2025-03-02 22:30:22 +07:00
Dan
bed4998e4e Update version 2025-02-17 12:22:19 +07:00
Dan
809b7aa594 Update functions.php 2025-02-16 11:00:08 +07:00
Dan
e4dfc429d7 Fulltext search index 2025-02-14 10:21:17 +07:00
Dan
ed5faba993 Bug fix. See #870 2025-02-01 14:57:54 +07:00
splifingate
6a7002657c three-character minimum for $keyword
limit $keyword to a minimum of three characters
2025-01-29 05:43:42 -05:00
splifingate
ffee888eab Revert "cleanup"
This reverts commit 9a6e4b83ee.
2025-01-29 05:41:28 -05:00
splifingate
9a6e4b83ee cleanup
fix errant tabbing
2025-01-29 05:37:15 -05:00
splifingate
a88411150d three-character minimum for $keyword
system/includes/functions.php:

add function to limit $keyword to three, or more, characters; cleanup

themes/doks/main.html.php:

remove color <span>
2025-01-29 05:33:56 -05:00
Dan
5804cbcdd7 Cleaning up 2025-01-27 07:58:10 +07:00
splifingate
002b25d158 Update functions.php
extra / *oops*
2025-01-26 15:14:12 -05:00
splifingate
9ac3fc114a Add Searching The Contents Blog Post Contents
By Default, Search in HTMLy only queries the filename.

I have added code that enables the Search function to capture whole-word results from the *contents* of each blog post.

See:

https://splifingate.net/blog/

vs

https://splifingate/test/blog/

My Study:

https://andyrew.info/blog/2025/01/searching-inside-htmly-content
2025-01-26 14:35:35 -05:00
Dan
e234ea11b4 Update functions.php 2024-12-30 12:56:39 +07:00
Dan
788ccf36be Cleaning up 2024-12-11 06:18:32 +07:00
Joduai
fa1fd04352
Update get_pagination() - see #800
Since generation of canonical metatags were updated for paginated pages - which was a good change towards SEO - another "problem" arised with "_Alternate page with proper canonical tag_". It basically relates to the 1st paginated page with "?page=1" in url. Although it contains proper canonical tag indicating main page with blog posts.
I wanted to:
1. get rid of this duplicated page in pagination so that all other pages point to the main blog page instead of page=1, allowing me to also get rid of above mentioned notification in g.search console
2. generate proper relative urls for paginated pages. All html hrefs contain "?page=N" no matter what page is used for blog posts listing. Either it is index page or any other declared page like /blog

Since I use /blog page for posts list I achieved proper href values both on index pages and decalred page, so I'm sharing the changes.
This commit affects only pagination generated using `<?php echo $pagination['html'];?>` which is used afaik only in "blog" theme. All other themes show only previous/next buttons to navigate through posts list, thus additional changes would have to be made per theme basis which is out of scope in this commit.

As a suggestion it would be nice to achieve friendly urls in pagination but I couldn't find out how url routing is solved in htmly.
2024-11-26 00:25:23 +00:00
danpros
90417620f7 Update functions.php 2024-11-21 05:45:40 +07:00
danpros
d2fe54d166 Prepare release 2024-11-21 05:44:18 +07:00
Robert Pfotenhauer
56f5460839 Added Bluesky to social accounts
As Twitter is becoming more and more of a muckraker, the alternative should be shown here as well.
2024-11-19 11:02:33 +01:00
danpros
973a2c5a05 Add new vars for easy theming 2024-11-19 12:33:54 +07:00
KuJoe
32388b2a37 RSS Description config option added
Gives the admin the config option to choose to replace the RSS description value with Meta Description instead of Body (default is the current setting of body, if nothing is selected defaults to body).
2024-09-12 22:56:11 -04:00
danpros
a18d234bc2 Update functions.php 2024-09-07 11:04:13 +07:00
danpros
a473482da8 Allow to change the post permalink prefix
Example: /blog/post-slug
2024-09-06 14:19:25 +07:00
danpros
6bc0f8880a Custom /blog URL
Allow to change the /blog url eg, /news
2024-09-05 09:22:56 +07:00
danpros
98939acd20 Update functions.php 2024-09-03 06:59:27 +07:00
KuJoe
86039d9dad Cleanup Cloudflare Turnstile function
Fix PHP Notice about Content-type not specified in file_get_contents call to Cloudflare.
2024-09-02 17:34:05 -04:00
KuJoe
c1ae1c2cbf Add the ability to call the author's avatar using the $next and $prev arrays.
Static placeholders in themes can be replaced with this code now to call the author's avatar:
<?php echo $next['authorAvatar']; ?>
<?php echo $prev['authorAvatar']; ?>
2024-09-02 16:51:56 -04:00
danpros
025e299a2a Update functions.php 2024-07-10 09:16:49 +07:00
danpros
db57fc9fe1 Update functions.php
See #744
2024-07-09 23:05:53 +07:00
danpros
ddda1ddb57 Update functions.php 2024-07-03 22:14:26 +07:00
danpros
4299c6916f Accept height parameter 2024-06-30 13:02:03 +07:00
danpros
1805312500 Update functions.php 2024-06-30 08:42:32 +07:00
danpros
852ba14d02 Thumbnail 2024-06-28 14:31:22 +07:00
danpros
2d8d41973b Update functions.php 2024-06-23 04:28:56 +07:00
danpros
0e67b878ac Improve post query for custom widget
`recent_type` get latest posts by type, category, author (cached). `recent_tag` sorting post by tag (cached). Useful for magazine like layout, different column for different category etc.
2024-06-13 09:55:09 +07:00