{"id":15480922,"url":"https://github.com/aprokopenko/just-post-preview","last_synced_at":"2026-05-16T17:38:28.052Z","repository":{"id":146857571,"uuid":"42184254","full_name":"aprokopenko/just-post-preview","owner":"aprokopenko","description":"WordPress Widget to add content preview blocks easily.","archived":false,"fork":false,"pushed_at":"2017-03-06T09:05:19.000Z","size":90,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T14:35:49.616Z","etag":null,"topics":["php","wordpress","wordpress-plugin","wordpress-widget"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aprokopenko.png","metadata":{"files":{"readme":"readme.txt","changelog":null,"contributing":null,"funding":null,"license":"license.txt","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":"2015-09-09T14:38:33.000Z","updated_at":"2017-02-23T18:38:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"2e580a37-1a4e-411c-9f64-bc625c75f028","html_url":"https://github.com/aprokopenko/just-post-preview","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/aprokopenko/just-post-preview","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aprokopenko%2Fjust-post-preview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aprokopenko%2Fjust-post-preview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aprokopenko%2Fjust-post-preview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aprokopenko%2Fjust-post-preview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aprokopenko","download_url":"https://codeload.github.com/aprokopenko/just-post-preview/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aprokopenko%2Fjust-post-preview/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006751,"owners_count":26084177,"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-11T02:00:06.511Z","response_time":55,"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":["php","wordpress","wordpress-plugin","wordpress-widget"],"created_at":"2024-10-02T05:00:45.156Z","updated_at":"2025-10-11T09:17:39.602Z","avatar_url":"https://github.com/aprokopenko.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"=== Just Post Preview Widget ===\nContributors: aprokopenko\nPlugin Name: Just Post Preview Widget for for Wordpress\nAuthor: JustCoded / Alex Prokopenko\nAuthor URI: http://justcoded.com/\nTags: post preview, widget, layouts, developer\nRequires at least: 4.0\nTested up to: 4.7.2\nStable tag: trunk\nLicense: GNU General Public License v3\n\nWidget to easy add any post content preview blocks with different layouts, specified in the theme.\n\n== Description ==\n\nThis plugin is for developers who need easy to edit the complex layouts and insert different post tile blocks inside the layout,\nsidebars or page builders. By default, it has 3 pre-defined layouts; you can rewrite them in your theme or register custom layouts.\nUnfortunately the pre-defined layouts have no styles inside. (Because they will be overwritten in the theme 100% anyway).\n\n\n= Template files =\nTo overwrite the pre-defined templates, you should create a folder with the name `“just-post-preview”` in the root\nof your theme and copy required templates from the `/wp-content/plugins/just-post-preview/layous/` folder.\n\nFile names format: `jpp_layout_{layout key}.php`\n\nYou can find PHP comments on the top of the demo templates. They help your IDE to show you autocomplete boxes for available variables.\n\n= Adding custom layout =\nTo add a custom layout, you need to add a new filter hook in your theme functions.php file:\n\n`add_filter('jpp_post_preview_layouts', 'my_post_preview_layouts');\nfunction my_post_preview_layouts($layouts){\n\t$layouts['my_layout_key'] = 'My custom layout';\n\treturn $layouts;\n}`\n\nAfter that hook you will need to create a template file in the `/path/to/theme/just-post-preview` folder with the name `jpp_layout_my_layout_key.php`.\n\n= That's all! =\n\nFILL FREE TO CONTACT ME IF YOU FIND ANY BUGS/ISSUES!\n\n**ISSUES TRACKER**\nThe project is also available on github. Please post your issues or feedbacks there.\nhttps://github.com/aprokopenko/just-post-preview\n\n== Installation ==\n\n1. Download, unzip and upload to your WordPress plugins directory\n2. Activate the plugin within you WordPress Administration Backend\n3. That's it - you can add a new widget now\n\n== Upgrade Notice ==\n\nTo upgrade remove the old plugin folder. After than follow the installation steps 1-2. All settings will be saved.\n\n== Screenshots ==\n\n1. Widget edit screenshot\n2. Using widget inside the SiteOrigin Page builder plugin\n\n== Changelog ==\n= Version 1.1.1 =\n\t* Bug fix: Merged Pull Request from @rudibatt: missing break in templates load loop.\n= Version 1.1 =\n\t* New feature: Ability to search without specifying post type (beta)\n\t* New hook: You can control the templates source with new hook `jpp_post_preview_template`\n\t* Bug fix: PHP 7+ compatibility fix\n= Version 1.0 =\n\t* Plugin base with 3 pre-defined layouts\n\t","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faprokopenko%2Fjust-post-preview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faprokopenko%2Fjust-post-preview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faprokopenko%2Fjust-post-preview/lists"}