{"id":1931,"date":"2012-05-17T12:08:51","date_gmt":"2012-05-17T12:08:51","guid":{"rendered":"http:\/\/www.oik-plugins.com\/?page_id=1931"},"modified":"2014-08-08T16:17:33","modified_gmt":"2014-08-08T16:17:33","slug":"cookies","status":"publish","type":"shortcode_example","link":"https:\/\/www.oik-plugins.com\/shortcode_example\/cookies\/","title":{"rendered":"&#91;cookies&#93; <span class=\"summary\">&#8211; display site cookies with custom CSS styling<\/span>"},"content":{"rendered":"Use the <a class=\"bw_code cookies\" href=\"https:\/\/www.oik-plugins.com\/oik-shortcodes\/cookies\/cookies\" title=\"Link to help for shortcode: cookies\"><span>[<\/span>cookies]<\/a> shortcode ( from the <span class=\"bw_plug\"><a class=\"plugin\" href=\"https:\/\/www.oik-plugins.com\/oik-plugins\/cookie-cat-tabulate-your-website-cookies\/\" title=\"Link to the cookie-cat (cookie-cat: Display table of cookies) plugin\">cookie-cat<\/a><\/span> plugin ) to produce a table of the cookies that your <span class=\"wordpress\"><span class=\"bw_word\">Word<\/span><span class=\"bw_press\">Press<\/span><\/span> website uses. Style the table display using custom CSS.\r\n<!--more-->\r\n\r\n<div class=\"bw_geshi html5\"><code><br \/>\n&#091;cookies]<br \/>\n&nbsp;<\/code><\/div>\r\n\r\n<table class=\"cookies wide-fat\"><thead><tr><td>Cookie Name<\/td><td>Cookie Category<\/td><td>Description<\/td><td>Duration<\/td><\/tr><\/thead><tr><td>wordpress_<\/td><td>2<\/td><td>WordPress cookie for a logged in user.<\/td><td>session<\/td><\/tr><tr><td>wordpress_logged_in_<\/td><td>2<\/td><td>WordPress cookie for a logged in user<\/td><td>session<\/td><\/tr><tr><td>wordpress_test_<\/td><td>2<\/td><td>WordPress cookie for a logged in user<\/td><td>session<\/td><\/tr><tr><td>wordpress_test_cookie<\/td><td>2<\/td><td>WordPress test cookie<\/td><td>session<\/td><\/tr><tr><td>wp-settings-<\/td><td>1<\/td><td>Wordpress also sets a few wp-settings-[UID] cookies.\nThe number on the end is your individual user ID from the users database table. \nThis is used to customize your view of admin interface, and possibly also the main site interface. \n<\/td><td>1 year<\/td><\/tr><tr><td>wp-settings-time-<\/td><td>2<\/td><td>Wordpress also sets a few wp-settings-{time}-[UID] cookies. The number on the end is your individual user ID from the users database table. This is used to customize your view of admin interface, and possibly also the main site interface.\n<\/td><td>1 year<\/td><\/tr><tr><td>PHPSESSID<\/td><td>1<\/td><td>To identify your unique session on the website<\/td><td>session<\/td><\/tr><tr><td>SESS<\/td><td>1<\/td><td>To ensure that you are recognised when you move from page to page within the site and that any information you have entered is remembered.<\/td><td>session<\/td><\/tr><\/table>\r\n\r\n<h3>Custom CSS to style the table<\/h3>\r\n\r\n<div><style  type=\"text\/css\" media=\"screen,print\">\r\ntable.cookies { background-color: #fce4d5; }\r\ntable.cookies thead { font-weight: bold; } \r\ntable.cookies tbody tr:nth-child(even) { background-color: #ffffff; }\r\n<\/style><div class=\"bw_css\"><code><br \/>\ntable<span style=\"color: #6666ff;\">.cookies<\/span> <span style=\"color: #00AA00;\">&#123;<\/span> <span style=\"color: #000000; font-weight: bold;\">background-color<\/span><span style=\"color: #00AA00;\">:<\/span> <span style=\"color: #cc00cc;\">#fce4d5<\/span><span style=\"color: #00AA00;\">;<\/span> <span style=\"color: #00AA00;\">&#125;<\/span><br \/>\ntable<span style=\"color: #6666ff;\">.cookies<\/span> thead <span style=\"color: #00AA00;\">&#123;<\/span> <span style=\"color: #000000; font-weight: bold;\">font-weight<\/span><span style=\"color: #00AA00;\">:<\/span> <span style=\"color: #993333;\">bold<\/span><span style=\"color: #00AA00;\">;<\/span> <span style=\"color: #00AA00;\">&#125;<\/span> <br \/>\ntable<span style=\"color: #6666ff;\">.cookies<\/span> tbody tr<span style=\"color: #00AA00;\">:<\/span><span style=\"color: #F5758F;\">nth-child<\/span><span style=\"color: #00AA00;\">&#40;<\/span>even<span style=\"color: #00AA00;\">&#41;<\/span> <span style=\"color: #00AA00;\">&#123;<\/span> <span style=\"color: #000000; font-weight: bold;\">background-color<\/span><span style=\"color: #00AA00;\">:<\/span> <span style=\"color: #cc00cc;\">#ffffff<\/span><span style=\"color: #00AA00;\">;<\/span> <span style=\"color: #00AA00;\">&#125;<\/span><br \/>\n&nbsp;<\/code><\/div><\/div>\r\n\r\n<h3>See also<\/h3>\r\n<ul>\r\n\r\n<li>Use the cookies shortcode on your privacy policy page<\/li>\r\n<li>Use <span class=\"bw_plug\"><a class=\"plugin\" href=\"https:\/\/www.oik-plugins.com\/oik-plugins\/privacy-policy-page-generator\/\" title=\"Link to the oik-privacy-policy (oik-privacy-policy: privacy policy page generator) plugin\">oik-privacy-policy<\/a><\/span> to create your privacy policy page<\/li>\r\n<li><a class=\"bw_code bw_css\" href=\"https:\/\/www.oik-plugins.com\/oik-shortcodes\/bw_css\/oik_css\" title=\"Link to help for shortcode: bw_css\"><span>[<\/span>bw_css]<\/a><\/li>\r\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Use the <a class=\"bw_code cookies\" href=\"https:\/\/www.oik-plugins.com\/oik-shortcodes\/cookies\/cookie_cat\" title=\"Link to help for shortcode: cookies\"><span>[<\/span>cookies]<\/a> shortcode ( from the <span class=\"bw_plug\"><a class=\"plugin\" href=\"https:\/\/www.oik-plugins.com\/oik-plugins\/cookie-cat-tabulate-your-website-cookies\/\" title=\"Link to the cookie-cat (cookie-cat: Display table of cookies) plugin\">cookie-cat<\/a><\/span> plugin ) to produce a table of the cookies that your <span class=\"wordpress\"><span class=\"bw_word\">Word<\/span><span class=\"bw_press\">Press<\/span><\/span> website uses. Style the table display using custom CSS.<\/p>\n","protected":false},"featured_media":0,"template":"","letters":[],"class_list":{"0":"post-1931","1":"shortcode_example","2":"type-shortcode_example","3":"status-publish","5":"entry"},"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>&#091;cookies&#093; - display site cookies with custom CSS styling - [oik] plugins.com<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.oik-plugins.com\/shortcode_example\/cookies\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"&#091;cookies&#093; - display site cookies with custom CSS styling - [oik] plugins.com\" \/>\n<meta property=\"og:description\" content=\"Use the shortcode ( from the cookie-cat plugin ) to produce a table of the cookies that your WordPress website uses. Style the table display using custom CSS.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.oik-plugins.com\/shortcode_example\/cookies\/\" \/>\n<meta property=\"og:site_name\" content=\"[oik] plugins.com\" \/>\n<meta property=\"article:modified_time\" content=\"2014-08-08T16:17:33+00:00\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.oik-plugins.com\/shortcode_example\/cookies\/\",\"url\":\"https:\/\/www.oik-plugins.com\/shortcode_example\/cookies\/\",\"name\":\"&#91;cookies&#93; - display site cookies with custom CSS styling - [oik] plugins.com\",\"isPartOf\":{\"@id\":\"https:\/\/www.oik-plugins.com\/#website\"},\"datePublished\":\"2012-05-17T12:08:51+00:00\",\"dateModified\":\"2014-08-08T16:17:33+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.oik-plugins.com\/shortcode_example\/cookies\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.oik-plugins.com\/shortcode_example\/cookies\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.oik-plugins.com\/shortcode_example\/cookies\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Shortcode examples\",\"item\":\"https:\/\/www.oik-plugins.com\/shortcode_example\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Shortcodes\",\"item\":\"https:\/\/www.oik-plugins.com\/shortcodes\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"&#91;cookies&#93; &#8211; display site cookies with custom CSS styling\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.oik-plugins.com\/#website\",\"url\":\"https:\/\/www.oik-plugins.com\/\",\"name\":\"[oik] plugins.com\",\"description\":\"WordPress plugins and themes\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.oik-plugins.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"&#91;cookies&#93; - display site cookies with custom CSS styling - [oik] plugins.com","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.oik-plugins.com\/shortcode_example\/cookies\/","og_locale":"en_US","og_type":"article","og_title":"&#91;cookies&#93; - display site cookies with custom CSS styling - [oik] plugins.com","og_description":"Use the shortcode ( from the cookie-cat plugin ) to produce a table of the cookies that your WordPress website uses. Style the table display using custom CSS.","og_url":"https:\/\/www.oik-plugins.com\/shortcode_example\/cookies\/","og_site_name":"[oik] plugins.com","article_modified_time":"2014-08-08T16:17:33+00:00","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.oik-plugins.com\/shortcode_example\/cookies\/","url":"https:\/\/www.oik-plugins.com\/shortcode_example\/cookies\/","name":"&#91;cookies&#93; - display site cookies with custom CSS styling - [oik] plugins.com","isPartOf":{"@id":"https:\/\/www.oik-plugins.com\/#website"},"datePublished":"2012-05-17T12:08:51+00:00","dateModified":"2014-08-08T16:17:33+00:00","breadcrumb":{"@id":"https:\/\/www.oik-plugins.com\/shortcode_example\/cookies\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.oik-plugins.com\/shortcode_example\/cookies\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.oik-plugins.com\/shortcode_example\/cookies\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Shortcode examples","item":"https:\/\/www.oik-plugins.com\/shortcode_example\/"},{"@type":"ListItem","position":2,"name":"Shortcodes","item":"https:\/\/www.oik-plugins.com\/shortcodes\/"},{"@type":"ListItem","position":3,"name":"&#91;cookies&#93; &#8211; display site cookies with custom CSS styling"}]},{"@type":"WebSite","@id":"https:\/\/www.oik-plugins.com\/#website","url":"https:\/\/www.oik-plugins.com\/","name":"[oik] plugins.com","description":"WordPress plugins and themes","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.oik-plugins.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/shortcode_example\/1931","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/shortcode_example"}],"about":[{"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/types\/shortcode_example"}],"version-history":[{"count":4,"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/shortcode_example\/1931\/revisions"}],"predecessor-version":[{"id":14449,"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/shortcode_example\/1931\/revisions\/14449"}],"wp:attachment":[{"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/media?parent=1931"}],"wp:term":[{"taxonomy":"letters","embeddable":true,"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/letters?post=1931"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}