{"id":50,"date":"2026-09-05T16:03:42","date_gmt":"2026-09-05T14:03:42","guid":{"rendered":"https:\/\/votecanada.online\/?page_id=50"},"modified":"2026-09-05T16:04:10","modified_gmt":"2026-09-05T14:04:10","slug":"candidats","status":"publish","type":"page","link":"https:\/\/votecanada.online\/index.php\/candidats\/","title":{"rendered":"Candidats"},"content":{"rendered":"        <div class=\"vote-wrap\">\n        <div class=\"vote-results-wrap\" role=\"main\">\n            <div class=\"vote-card\">\n                <div class=\"vote-card-header\" aria-hidden=\"true\"><span><\/span><span><\/span><span><\/span><\/div>\n                <div class=\"vote-card-body\">\n                    <h1 class=\"vote-card-title\">\n                        <span class=\"vote-icon\" aria-hidden=\"true\">&#127885;<\/span>\n                        Postes et candidats                    <\/h1>\n                    <p class=\"vote-subtitle\">Liste officielle des postes en election et des candidats declares.<\/p>\n                <\/div>\n            <\/div>\n            <div id=\"vp-candidates-container\">\n                <p class=\"vote-subtitle\" style=\"text-align:center;padding:20px;\">Chargement...<\/p>\n            <\/div>\n        <\/div>\n        <\/div>\n        <script>\n        document.addEventListener('DOMContentLoaded', function () {\n            var cfg=window.VotePlatformPublic||{};\n            var ajaxUrl=cfg.ajaxUrl||\"https:\\\/\\\/votecanada.online\\\/wp-admin\\\/admin-ajax.php\";\n            var nonce=cfg.nonce||\"4b70ada61f\";\n            function esc(s){var d=document.createElement('div');d.textContent=String(s||'');return d.innerHTML;}\n            fetch(ajaxUrl,{method:'POST',body:new URLSearchParams({action:'vote_get_candidates_public',nonce:nonce})})\n            .then(function(r){return r.json();}).then(function(json){\n                var c=document.getElementById('vp-candidates-container');\n                if(!json.success||!json.data.length){c.innerHTML='<p class=\"vote-subtitle\" style=\"text-align:center;padding:20px;\">Aucun poste configure.<\/p>';return;}\n                c.innerHTML=json.data.map(function(post){\n                    var badge=post.is_open==1\n                        ?'<span style=\"background:rgba(0,122,94,.15);color:#4dc8aa;padding:3px 10px;border-radius:20px;font-size:.75rem;font-weight:600;\">Ouvert<\/span>'\n                        :'<span style=\"background:rgba(206,17,38,.12);color:#f87070;padding:3px 10px;border-radius:20px;font-size:.75rem;font-weight:600;\">Ferme<\/span>';\n                    var body='';\n                    if(post.type==='candidate'&&post.candidates.length){\n                        body='<div style=\"display:flex;flex-direction:column;gap:10px;margin-top:14px;\">'\n                            +post.candidates.map(function(cd,i){\n                                return '<div style=\"display:flex;align-items:center;gap:14px;padding:12px 14px;background:#0d1117;border:1px solid #30363d;border-radius:10px;\">'\n                                    +'<div style=\"width:38px;height:38px;border-radius:50%;background:#007A5E;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.9rem;flex-shrink:0;\">'+(i+1)+'<\/div>'\n                                    +'<div><div style=\"font-weight:600;color:#e6edf3;\">'+esc(cd.name)+'<\/div>'\n                                    +(cd.description?'<div style=\"font-size:.82rem;color:#8b949e;margin-top:2px;\">'+esc(cd.description)+'<\/div>':'')\n                                    +'<\/div><\/div>';\n                            }).join('')+'<\/div>';\n                    } else if(post.type==='yesno'){\n                        body='<div style=\"margin-top:12px;padding:10px 14px;background:#0d1117;border:1px solid #30363d;border-radius:8px;color:#8b949e;font-size:.88rem;\">&#x2705; Oui &nbsp; &#x274C; Non &nbsp; &#x2014; Abstention<\/div>';\n                    } else {\n                        body='<p style=\"color:#8b949e;font-size:.85rem;margin-top:10px;\">Aucun candidat declare.<\/p>';\n                    }\n                    return '<div class=\"vote-results-post\">'\n                        +'<div class=\"vote-results-post-header\" style=\"display:flex;justify-content:space-between;align-items:center;\">'\n                        +'<h3 style=\"margin:0;\">'+esc(post.title)+'<\/h3>'+badge+'<\/div>'\n                        +'<div class=\"vote-results-body\">'\n                        +(post.description?'<p style=\"color:#8b949e;font-size:.85rem;margin:0 0 10px;\">'+esc(post.description)+'<\/p>':'')\n                        +body+'<\/div><\/div>';\n                }).join('');\n            });\n        });\n        <\/script>\n        \n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-50","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Candidats -<\/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:\/\/votecanada.online\/index.php\/candidats\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Candidats -\" \/>\n<meta property=\"og:url\" content=\"https:\/\/votecanada.online\/index.php\/candidats\/\" \/>\n<meta property=\"article:modified_time\" content=\"2026-09-05T14:04:10+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/votecanada.online\\\/index.php\\\/candidats\\\/\",\"url\":\"https:\\\/\\\/votecanada.online\\\/index.php\\\/candidats\\\/\",\"name\":\"Candidats -\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/votecanada.online\\\/#website\"},\"datePublished\":\"2026-09-05T14:03:42+00:00\",\"dateModified\":\"2026-09-05T14:04:10+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/votecanada.online\\\/index.php\\\/candidats\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/votecanada.online\\\/index.php\\\/candidats\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/votecanada.online\\\/index.php\\\/candidats\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/votecanada.online\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Candidats\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/votecanada.online\\\/#website\",\"url\":\"https:\\\/\\\/votecanada.online\\\/\",\"name\":\"\",\"description\":\"Chaque voix compte\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/votecanada.online\\\/?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":"Candidats -","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:\/\/votecanada.online\/index.php\/candidats\/","og_locale":"en_US","og_type":"article","og_title":"Candidats -","og_url":"https:\/\/votecanada.online\/index.php\/candidats\/","article_modified_time":"2026-09-05T14:04:10+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/votecanada.online\/index.php\/candidats\/","url":"https:\/\/votecanada.online\/index.php\/candidats\/","name":"Candidats -","isPartOf":{"@id":"https:\/\/votecanada.online\/#website"},"datePublished":"2026-09-05T14:03:42+00:00","dateModified":"2026-09-05T14:04:10+00:00","breadcrumb":{"@id":"https:\/\/votecanada.online\/index.php\/candidats\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/votecanada.online\/index.php\/candidats\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/votecanada.online\/index.php\/candidats\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/votecanada.online\/"},{"@type":"ListItem","position":2,"name":"Candidats"}]},{"@type":"WebSite","@id":"https:\/\/votecanada.online\/#website","url":"https:\/\/votecanada.online\/","name":"","description":"Chaque voix compte","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/votecanada.online\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/votecanada.online\/index.php\/wp-json\/wp\/v2\/pages\/50","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/votecanada.online\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/votecanada.online\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/votecanada.online\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/votecanada.online\/index.php\/wp-json\/wp\/v2\/comments?post=50"}],"version-history":[{"count":2,"href":"https:\/\/votecanada.online\/index.php\/wp-json\/wp\/v2\/pages\/50\/revisions"}],"predecessor-version":[{"id":52,"href":"https:\/\/votecanada.online\/index.php\/wp-json\/wp\/v2\/pages\/50\/revisions\/52"}],"wp:attachment":[{"href":"https:\/\/votecanada.online\/index.php\/wp-json\/wp\/v2\/media?parent=50"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}