{"id":16702394,"url":"https://github.com/murhafsousli/ng-wordpress-theme","last_synced_at":"2025-04-10T04:56:29.069Z","repository":{"id":66203306,"uuid":"52843282","full_name":"MurhafSousli/ng-wordpress-theme","owner":"MurhafSousli","description":"Angular starter theme for WordPress","archived":false,"fork":false,"pushed_at":"2017-01-29T16:58:10.000Z","size":387,"stargazers_count":17,"open_issues_count":1,"forks_count":2,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-24T06:11:30.769Z","etag":null,"topics":["angular","theme","wordpress"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/MurhafSousli.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2016-03-01T02:57:02.000Z","updated_at":"2023-01-30T03:30:52.000Z","dependencies_parsed_at":"2023-03-01T09:30:55.864Z","dependency_job_id":null,"html_url":"https://github.com/MurhafSousli/ng-wordpress-theme","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MurhafSousli%2Fng-wordpress-theme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MurhafSousli%2Fng-wordpress-theme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MurhafSousli%2Fng-wordpress-theme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MurhafSousli%2Fng-wordpress-theme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MurhafSousli","download_url":"https://codeload.github.com/MurhafSousli/ng-wordpress-theme/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248161261,"owners_count":21057554,"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","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":["angular","theme","wordpress"],"created_at":"2024-10-12T19:04:32.359Z","updated_at":"2025-04-10T04:56:29.060Z","avatar_url":"https://github.com/MurhafSousli.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ng-wordpress-theme\nAngular starter theme for wordpress\n\nAdvantages: \n\n- SEO friendly\n- Angular for frontend, WordPress for backend\n\nThis is an old [demo](http://ng2wordpress-murhaf.rhcloud.com) but things have been changed now\n\n# This repo is still an expierment for integrating angular app in a wordpress theme. contributions are extremely welcome :)\n\n#### Requirement:\n\n  - local WordPress server. (You can get one from [here](https://bitnami.com/stack/wordpress))\n\n#### Quick start\n\n  - Download this repo into WP theme folder\n  - Navigate into the new theme and `npm install`\n  - `ng build` to get the `dist` directory\n  - Open your browser and go to wordpress server, e.g.: `http://localhost/wordpress`\n\n[![Capture.png](https://s28.postimg.org/3nyl2kh5p/Capture.png)](https://postimg.org/image/pn4zprxzt/)\n\n##Ideas for the theme\n\n - `ngrx/store` for app state\n\n```\n   {\n     menu: [],\n     categories: [],\n     routes:[\n     ],\n     config: {\n       thumbnail_size,\n       featured_size,\n       posts_per_page,\n       theme_class\n     }\n   }\n```\n\nThis state is initialized from **function.php** using `wp_localize_script` function, so it can be accessed later in angular using a service\n\n##TODOs:\n\n - Dynamic angular routes:\n   \n   This can be a great feature to allow users to specify angular routes from there theme config at WP setting page\n\n - Use [Angular WordPress Module](https://github.com/MurhafSousli/ng2-wp-api) to make things requests easy.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmurhafsousli%2Fng-wordpress-theme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmurhafsousli%2Fng-wordpress-theme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmurhafsousli%2Fng-wordpress-theme/lists"}