{"id":24776798,"url":"https://github.com/web-lifter/wordpress-functionality","last_synced_at":"2026-01-29T15:31:55.849Z","repository":{"id":273452150,"uuid":"919765627","full_name":"web-lifter/wordpress-functionality","owner":"web-lifter","description":"A collection of powerful and reusable code snippets, scripts, and utilities to extend and enhance the functionality of WordPress websites. This repository provides tools for developers to implement custom features, optimise performance, and improve SEO and usability.","archived":false,"fork":false,"pushed_at":"2025-02-21T03:54:34.000Z","size":1369,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-04T21:03:22.711Z","etag":null,"topics":["javascript","php","wordp","wordpress","wordpress-development","wordpress-php-library"],"latest_commit_sha":null,"homepage":"https://weblifter.com.au","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/web-lifter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"web-lifter"}},"created_at":"2025-01-21T01:07:21.000Z","updated_at":"2025-02-21T03:54:37.000Z","dependencies_parsed_at":"2025-06-03T01:19:25.136Z","dependency_job_id":null,"html_url":"https://github.com/web-lifter/wordpress-functionality","commit_stats":null,"previous_names":["web-lifter/wordpress-functionality"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/web-lifter/wordpress-functionality","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-lifter%2Fwordpress-functionality","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-lifter%2Fwordpress-functionality/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-lifter%2Fwordpress-functionality/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-lifter%2Fwordpress-functionality/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/web-lifter","download_url":"https://codeload.github.com/web-lifter/wordpress-functionality/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-lifter%2Fwordpress-functionality/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28880219,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T10:31:27.438Z","status":"ssl_error","status_checked_at":"2026-01-29T10:31:01.017Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["javascript","php","wordp","wordpress","wordpress-development","wordpress-php-library"],"created_at":"2025-01-29T07:22:28.219Z","updated_at":"2026-01-29T15:31:55.833Z","avatar_url":"https://github.com/web-lifter.png","language":"JavaScript","funding_links":["https://github.com/sponsors/web-lifter"],"categories":[],"sub_categories":[],"readme":"# WordPress Functionality\n\nWelcome to the **WordPress Functionality** repository! This repository contains a collection of code snippets, scripts, and utilities designed to enhance and implement specific features and functionality in WordPress websites. Whether you're a developer looking for quick solutions or exploring ideas for custom functionality, this repository is here to help.\n\n---\n\n## Repository Structure\n\nThe repository is organised as follows:\n\n### **[hreflang](https://github.com/web-lifter/wordpress-functionality/tree/main/hreflang)**  \n1. `dynamic-hreflang-attributes-single-lang.php`\nThis script helps dynamically set hreflang attributes for multilingual WordPress websites. It ensures correct search engine indexing and improves SEO for sites targeting multiple languages or regions.\n\n2. `dynamic-hreflang-attributes-multi-lang.php`\nThis script dynamically generates hreflang attributes for multilingual WordPress websites where different languages are hosted under specific URL structures (e.g., /en, /fr, /de). It ensures reciprocal hreflang links between all translated versions of a page, complying with Google’s guidelines for multi-language SEO.\n\n### **[scripts](https://github.com/web-lifter/wordpress-functionality/tree/main/scripts)**  \n1. `preload.js`\nThis script enables dynamic prefetching of resources in a WordPress environment, enhancing website performance by preloading specified URLs. By integrating this script, WordPress users can improve their site's loading speed and user experience, particularly for frequently visited pages.\n\nFor more detailed information about each file, including usage instructions and examples, visit the [Project Wiki](https://github.com/web-lifter/wordpress-functionality/wiki).\n\n---\n\n## Getting Started\n\nTo use the snippets and scripts:\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/web-lifter/wordpress-functionality.git\n   ```\n\n2. Add the desired code snippet or script to your WordPress theme or plugin.\n\n3. Follow the usage instructions provided in the respective file's comments.\n\n---\n\n## Contributions\n\nWe welcome contributions! Please follow these steps to contribute:\n\n1. Fork the repository.\n2. Create a new branch: `git checkout -b feature-branch-name`\n3. Make your changes and commit them: `git commit -m 'Add new feature'`\n4. Push to the branch: `git push origin feature-branch-name`\n5. Submit a pull request.\n\n---\n\n## Suggestions and Issues\n\nIf you have ideas for new functionality or encounter any issues with the existing code, please open an issue in this repository. Your feedback helps us improve and expand this resource.\n\n---\n\n## Requirements\n\n- WordPress version: 5.0 or higher.\n- PHP version: 7.4 or higher.\n\n---\n\n## License\n\nThis repository is licensed under the [MIT License](LICENSE). Feel free to use, modify, and distribute the code in accordance with the license terms.\n\n---\n\n## Author\n\nThis repository is maintained by **Web Lifter**. If you have any questions or need support, feel free to reach out!\n\n---\n\n## Contact\n\nFor any questions or inquiries, please contact [open-source@weblifter.com.au](mailto:open-source@weblifter.com.au).\n\n---\n\nThank you for visiting the **WordPress Functionality** repository. Happy coding! 🎉\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweb-lifter%2Fwordpress-functionality","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweb-lifter%2Fwordpress-functionality","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweb-lifter%2Fwordpress-functionality/lists"}