{"id":403119,"date":"2026-11-16T13:00:21","date_gmt":"2026-11-16T13:00:21","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/top-and-bottom-popup-resenje\/"},"modified":"2026-11-16T13:00:07","modified_gmt":"2026-11-16T13:00:07","slug":"resenje-top-bottom-popup","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/resenje-top-bottom-popup\/","author":23304785,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.1","stable_tag":"1.1.1","tested":"7.1.4","requires":"5.0","requires_php":"7.0","requires_plugins":null,"header_name":"Resenje Top and Bottom Popup","header_author":"Stefan Zeljkic","header_description":"Shows two independent popups (top and bottom of the page) with your own HTML content and separate style settings.","last_updated":"2026-11-16 13:00:07","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/buymeacoffee.com\/stefanzeljkic","header_plugin_uri":"https:\/\/github.com\/stefanzeljkic\/Top-and-Bottom-Popup-Resenje","header_author_uri":"https:\/\/github.com\/stefanzeljkic","rating":0,"author_block_rating":0,"active_installs":0,"downloads":41,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.1.1":{"tag":"1.1.1","author":"stefanzeljkic","date":"2026-11-16 13:00:07","revision":3805211}},"upgrade_notice":{"1.1.1":"<p>New plugin name; no functional changes.<\/p>","1.1.0":"<p>Security and standards update. Settings from 1.0 are read automatically; save them once to store them in the new format.<\/p>"},"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1.1"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Admin panel for the top popup","2":"Admin panel for the bottom popup","3":"Popup displayed on the website"}},"plugin_section":[],"plugin_tags":[7540,293158,1290,491,293157],"plugin_category":[],"plugin_contributors":[293159],"plugin_business_model":[],"class_list":["post-403119","plugin","type-plugin","status-publish","hentry","plugin_tags-announcement","plugin_tags-bottom-popup","plugin_tags-notification-bar","plugin_tags-popup","plugin_tags-top-popup","plugin_contributors-stefanzeljkic","plugin_committers-stefanzeljkic"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/resenje-top-bottom-popup.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Resenje Top and Bottom Popup shows a small popup at the top and\/or at the bottom of every front-end page. Use it for announcements, promotions, newsletter links or any short message.<\/p>\n\n<p>Each popup has its own settings:<\/p>\n\n<ul>\n<li>Enable or disable<\/li>\n<li>Content (HTML allowed in posts, styled with inline <code>style<\/code> attributes)<\/li>\n<li>Alignment: left, center or right<\/li>\n<li>How long the popup stays hidden after a visitor closes it (in seconds, 0 = show on every page load)<\/li>\n<li>Width, height, padding and border radius<\/li>\n<li>Background color and text \/ close button color<\/li>\n<\/ul>\n\n<p>On screens narrower than 768px the popups are centered and take 90% of the width.<\/p>\n\n<p>The plugin loads its small CSS and JavaScript files only when at least one popup is enabled. It does not use cookies, does not contact external services and stores the \"closed\" time only in the visitor's browser (localStorage).<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>resenje-top-bottom-popup<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory, or install the plugin through the 'Plugins' screen in WordPress.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress.<\/li>\n<li>Open \"Popup Resenje\" in the admin menu, configure the top and\/or bottom popup and save.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"can%20i%20add%20my%20own%20html%20and%20css%3F\"><h3>Can I add my own HTML and CSS?<\/h3><\/dt>\n<dd><p>Yes. The content box accepts the same HTML that is allowed in posts. Style it with inline <code>style<\/code> attributes, for example <code>&lt;p style=\"font-size:18px;text-align:center\"&gt;Free shipping this week!&lt;\/p&gt;<\/code>. <code>&lt;script&gt;<\/code> and <code>&lt;style&gt;<\/code> tags are removed for security.<\/p><\/dd>\n<dt id=\"which%20values%20can%20i%20use%20for%20width%2C%20height%2C%20padding%20and%20radius%3F\"><h3>Which values can I use for width, height, padding and radius?<\/h3><\/dt>\n<dd><p>Numbers with one of the units px, %, em, rem, vh or vw (for example <code>300px<\/code>, <code>80%<\/code>, <code>1.5rem<\/code>), or <code>0<\/code>. Height also accepts <code>auto<\/code>. Padding and radius accept up to four values separated by spaces (for example <code>10px 20px<\/code>). Invalid values are replaced by the default.<\/p><\/dd>\n<dt id=\"the%20popup%20does%20not%20show%20again%20after%20i%20closed%20it\"><h3>The popup does not show again after I closed it<\/h3><\/dt>\n<dd><p>That is intended: after closing, the popup stays hidden in that browser for the number of seconds set in \"Show again after\". Set it to 0 to show the popup on every page load.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Renamed to \"Resenje Top and Bottom Popup\" (slug resenje-top-bottom-popup). Settings are kept.<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>CSS and JavaScript are loaded with wp_enqueue_style() \/ wp_enqueue_script(); per-popup styles use wp_add_inline_style().<\/li>\n<li>Settings use the Settings API (register_setting() with a sanitize callback); size values are validated.<\/li>\n<li>All output is escaped; direct file access is blocked.<\/li>\n<li>Main file renamed to match the plugin slug; added uninstall cleanup and a Settings link.<\/li>\n<li>Close button is a real button; works when localStorage is unavailable.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Two independent popups, at the top and at the bottom of the page, with your own HTML content and separate style settings.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/403119","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=403119"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/stefanzeljkic"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=403119"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=403119"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=403119"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=403119"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=403119"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=403119"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}