{"id":28676417,"url":"https://github.com/thesoftwarewizard/custom-component-blogpost","last_synced_at":"2025-10-08T09:16:19.689Z","repository":{"id":281590759,"uuid":"945746296","full_name":"TheSoftwareWizard/custom-component-blogpost","owner":"TheSoftwareWizard","description":"A simple Wordpress Component that shows blog post with a shortcode","archived":false,"fork":false,"pushed_at":"2025-03-10T04:14:07.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-13T23:04:24.971Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TheSoftwareWizard.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"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}},"created_at":"2025-03-10T04:01:26.000Z","updated_at":"2025-03-10T04:14:45.000Z","dependencies_parsed_at":"2025-03-10T05:21:05.063Z","dependency_job_id":"6d99cc5c-f218-4f05-986e-c33ef9e1936d","html_url":"https://github.com/TheSoftwareWizard/custom-component-blogpost","commit_stats":null,"previous_names":["drakslab/custom-component-blogpost","wizardofsoftware/custom-component-blogpost","thesoftwarewizard/custom-component-blogpost"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TheSoftwareWizard/custom-component-blogpost","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheSoftwareWizard%2Fcustom-component-blogpost","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheSoftwareWizard%2Fcustom-component-blogpost/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheSoftwareWizard%2Fcustom-component-blogpost/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheSoftwareWizard%2Fcustom-component-blogpost/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheSoftwareWizard","download_url":"https://codeload.github.com/TheSoftwareWizard/custom-component-blogpost/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheSoftwareWizard%2Fcustom-component-blogpost/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278918895,"owners_count":26068485,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-06-13T23:04:22.270Z","updated_at":"2025-10-08T09:16:19.655Z","avatar_url":"https://github.com/TheSoftwareWizard.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blog Post Slider for WordPress\n\n## Description\nThis function provides a custom blog post slider for WordPress using the Swiper.js library. The slider dynamically fetches WordPress blog posts and displays them in a visually appealing carousel format.\n\n## Features\n- Fetches up to 1000 posts (can be modified as needed)\n- Uses Swiper.js for a smooth sliding experience\n- Displays a short excerpt and featured image for each post\n- Includes \"More Information\" and \"Contact\" buttons for user interaction\n- Fully responsive design\n\n## Installation\n1. Add the function to your WordPress theme's `functions.php` file.\n2. Ensure that you have posts with featured images to be displayed properly.\n3. Add the shortcode `[blog_post_slider]` to any post or page where you want the slider to appear.\n4. Add the CSS styles to your theme’s `style.css` file for proper styling.\n\n## Usage\nSimply add the following shortcode to any post or page:\n\n```\n[blog_post_slider]\n```\n\nThis will generate a Swiper-based slider with all available blog posts.\n\n## Styles\nTo ensure proper styling, add the following CSS to your theme's `style.css` file:\n\n```css\n.swiper-container {\n    width: 100%;\n    overflow: hidden;\n}\n\n.swiper-slide {\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    text-align: center;\n    background: #f8f8f8;\n    padding: 20px;\n    border-radius: 8px;\n}\n\n.property-slide {\n    display: flex;\n    flex-direction: column;\n    align-items: center;\n}\n\n.property-info p {\n    font-size: 16px;\n    color: #333;\n}\n\n.property-buttons {\n    margin-top: 10px;\n}\n\n.property-buttons .btn {\n    display: inline-block;\n    padding: 10px 15px;\n    margin: 5px;\n    text-decoration: none;\n    border-radius: 5px;\n}\n\n.btn.black {\n    background: #333;\n    color: white;\n}\n\n.btn.outline {\n    border: 2px solid #333;\n    color: #333;\n    background: transparent;\n}\n\n.property-image {\n    margin-top: 15px;\n}\n\n.image-frame img {\n    max-width: 100%;\n    height: auto;\n    border-radius: 8px;\n}\n```\n\n## Dependencies\n- WordPress\n- Swiper.js (included via CDN)\n\n## License\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Credits\nDeveloped by Drak.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthesoftwarewizard%2Fcustom-component-blogpost","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthesoftwarewizard%2Fcustom-component-blogpost","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthesoftwarewizard%2Fcustom-component-blogpost/lists"}