{"id":22606564,"url":"https://github.com/benjaminmedia/wp-contentunits","last_synced_at":"2025-03-28T22:15:04.195Z","repository":{"id":62493131,"uuid":"54123945","full_name":"BenjaminMedia/WP-ContentUnits","owner":"BenjaminMedia","description":"v2 of our banner plugin yeeeeeeeah","archived":false,"fork":false,"pushed_at":"2016-10-31T12:52:48.000Z","size":163,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-03-26T14:54:35.823Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BenjaminMedia.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}},"created_at":"2016-03-17T14:21:41.000Z","updated_at":"2016-04-27T08:40:50.000Z","dependencies_parsed_at":"2022-11-02T11:17:36.074Z","dependency_job_id":null,"html_url":"https://github.com/BenjaminMedia/WP-ContentUnits","commit_stats":null,"previous_names":[],"tags_count":36,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenjaminMedia%2FWP-ContentUnits","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenjaminMedia%2FWP-ContentUnits/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenjaminMedia%2FWP-ContentUnits/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenjaminMedia%2FWP-ContentUnits/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BenjaminMedia","download_url":"https://codeload.github.com/BenjaminMedia/WP-ContentUnits/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246106688,"owners_count":20724401,"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":[],"created_at":"2024-12-08T14:14:11.176Z","updated_at":"2025-03-28T22:15:04.178Z","avatar_url":"https://github.com/BenjaminMedia.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wp-manual-cu\na plugin that allows you to manually add Specific Content Units to WordPress\n\n##Customization\n\nchange the width of the container (width between the banners)\n\n```css\n.bonnier-banner-container.sticky {\nwidth: 930px;\n}\n```\n\nchange offset from the top:\n\n```css\n.bonnier-banner-container.sticky .banner {\ntop: 700px;\n}\n```\n\nTo only change offset on the left/right:\n\n```css\n.bonnier-banner-container.sticky .left .banner {\n   top: 200px;\n}\n```\n\n##Shortcode\nIf you want to manually add a banners somewhere, you can use the shortcode.\n\n```html\n[banner sticky=\"true\" cu=\"xxxxxx\" offset=\"\" parent-container=\"\"]\n```\nsticky = (bool) If set to true, the banner will remain on screen while scrolling\n\ncu = Content Unit number\n\noffset = top Offset in pixels where the banner will start to be sticky (default = calculates the offset itself)\n\nparent-container = jQuery selector element on which the sticky banner will scroll inside\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenjaminmedia%2Fwp-contentunits","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenjaminmedia%2Fwp-contentunits","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenjaminmedia%2Fwp-contentunits/lists"}