{"action":"created","issue":{"url":"https://api.github.com/repos/PorteAperteSulWeb/pasw2015/issues/155","labels_url":"https://api.github.com/repos/PorteAperteSulWeb/pasw2015/issues/155/labels{/name}","comments_url":"https://api.github.com/repos/PorteAperteSulWeb/pasw2015/issues/155/comments","events_url":"https://api.github.com/repos/PorteAperteSulWeb/pasw2015/issues/155/events","html_url":"https://github.com/PorteAperteSulWeb/pasw2015/issues/155","id":124595876,"number":155,"title":"Pasw2015 child theme","user":{"login":"schiavifabrizio","id":16516546,"avatar_url":"https://avatars.githubusercontent.com/u/16516546?v=3","gravatar_id":"","url":"https://api.github.com/users/schiavifabrizio","html_url":"https://github.com/schiavifabrizio","followers_url":"https://api.github.com/users/schiavifabrizio/followers","following_url":"https://api.github.com/users/schiavifabrizio/following{/other_user}","gists_url":"https://api.github.com/users/schiavifabrizio/gists{/gist_id}","starred_url":"https://api.github.com/users/schiavifabrizio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schiavifabrizio/subscriptions","organizations_url":"https://api.github.com/users/schiavifabrizio/orgs","repos_url":"https://api.github.com/users/schiavifabrizio/repos","events_url":"https://api.github.com/users/schiavifabrizio/events{/privacy}","received_events_url":"https://api.github.com/users/schiavifabrizio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-02T15:30:56Z","updated_at":"2016-01-02T18:34:54Z","closed_at":null,"body":"Gestisco un sito con il tema pasw2015 ed ho creato un child teme per apportare personalizzazioni ai css ed altro.\r\nho provato a modificare il footer.php, lo copio nella cartella pasw2015-child...  e va bene!!\r\nora, sulla home page, voglio creare una nuova area chiamandola \"in evidenza\" (per il momento statica) immediatamente sopra la sezione sotto-home, ed ho modificato il file home_widgets.php. fatto e testato, provvedo a copiarlo nella cartella pasw2015-child ..... e questo NON va bene!!\r\npraticamente è come se non lo vedesse eseguendo l'originale all'interno della cartella padre pasw2015.\r\nIl mio scopo è quello di creare una nuova area widget sopra la sotto-home ove poter inserire widget o semplice testo html.\r\n\r\nQualcuno sa darmi qualche indicazione per risolvere il problema?\r\n\r\ndi seguito il codice modificato di home-widgets.php\r\n<!-- High Calculus -->\r\n\r\n    <?php $sidebars_widgets = wp_get_sidebars_widgets();\r\n\r\n        $i1=0; $i2=0;\r\n        if ( is_active_sidebar('sidebar-3') ) { $i1++; }\r\n        if ( is_active_sidebar('sidebar-4') ) { $i1++; }\r\n        if ( is_active_sidebar('sidebar-5') ) { $i1++; }\r\n\r\n        switch ($i1) {\r\n        case 0:\r\n            $width_sottohome = '0%';\r\n            break;\r\n        case 1:\r\n            $width_sottohome = '98%';\r\n            break;\r\n        case 2:\r\n            $width_sottohome = '47%';\r\n            break;\r\n        case 3:\r\n            $width_sottohome = '30%';\r\n            break;\r\n        }\r\n\r\n        if ( is_active_sidebar('sidebar-6') ) { $i2++; }\r\n        if ( is_active_sidebar('sidebar-7') ) { $i2++; }\r\n        if ( is_active_sidebar('sidebar-8') ) { $i2++; }\r\n\r\n        switch ($i2) {\r\n        case 0:\r\n            $width_home = '0%';\r\n            break;\r\n        case 1:\r\n            $width_home = '98%';\r\n            break;\r\n        case 2:\r\n            $width_home = '47%';\r\n            break;\r\n        case 3:\r\n            $width_home = '30%';\r\n            break;\r\n        }\r\n\r\n\r\n    ?>\r\n\r\n<div class=\"stickyc\">\r\n        <?php if (is_active_sidebar('sidebar-6')) { ?>\r\n            <div class=\"stickyc-col\" style=\"width: <?php echo $width_home; if ($i2 > 1) { echo '; border-right: 1px dotted #25385D'; } ?>;\">\r\n                <ul>\r\n                    <?php dynamic_sidebar(\"sidebar-6\"); ?>\r\n                </ul>\r\n            </div>\r\n        <?php } ?>\r\n\r\n\r\n        <?php if (is_active_sidebar('sidebar-7')) { ?>\r\n            <div class=\"stickyc-col\" style=\"width: <?php echo $width_home; if ($i2 == 3) { echo '; border-right: 1px dotted #25385D'; } ?>;\">\r\n                <ul>\r\n                    <?php dynamic_sidebar(\"sidebar-7\"); ?>\r\n                </ul>\r\n            </div>\r\n        <?php } ?>\r\n\r\n\r\n        <?php if (is_active_sidebar('sidebar-8')) { ?>\r\n            <div class=\"stickyc-col\" style=\"width: <?php echo $width_home;?>;\">\r\n                <ul>\r\n                    <?php dynamic_sidebar(\"sidebar-8\"); ?>\r\n                </ul>\r\n            </div>\r\n        <?php } ?>\r\n        <div class=\"clear\"></div>\r\n    </div>\r\n\r\n\r\n\r\n\r\n<!-- Widget \"evidenza$\"-->\r\n<div id=\"evidenza-hp\">\r\n   <div class=\"col-com-ev\" style=\"width: <?php echo $width_sottohome;?>;\">\r\n\t<h2 class=\"widgettitle\">In evidenza</h2>\r\n\r\n\t<div id=\"box\">\r\n\t<img src=\".........\" width=\"98%\" >\r\n\t</div>\r\n\r\n\t<div id=\"box\">\r\n\t<img src= \"........\" width=\"98%\">\r\n\t</div>\r\n\r\n        <div class=\"clear\"></div>\r\n   </div>\r\n</div>\r\n\r\n\r\n\r\n\r\n<!-- Widget \"sottohome$\"-->\r\n<div id=\"sotto-hp\">\r\n\r\n        <?php if (is_active_sidebar('sidebar-3')) { ?>\r\n            <div class=\"col-com2\" style=\"width: <?php echo $width_sottohome;?>;\">\r\n                <ul>\r\n                    <?php dynamic_sidebar(\"sidebar-3\"); ?>\r\n                </ul>\r\n            </div>\r\n        <?php } ?>\r\n\r\n        <?php if (is_active_sidebar('sidebar-4')) { ?>\r\n            <div class=\"col-com2\" style=\"width: <?php echo $width_sottohome;?>;\">\r\n                <ul>\r\n                    <?php dynamic_sidebar(\"sidebar-4\"); ?>\r\n                </ul>\r\n            </div>\r\n        <?php } ?>\r\n\r\n        <?php if (is_active_sidebar('sidebar-5')) { ?>\r\n            <div class=\"col-com2\" style=\"width: <?php echo $width_sottohome;?>;\">\r\n                <ul>\r\n                    <?php dynamic_sidebar(\"sidebar-5\"); ?>\r\n                </ul>\r\n            </div>\r\n        <?php } ?>\r\n\r\n</div>"},"comment":{"url":"https://api.github.com/repos/PorteAperteSulWeb/pasw2015/issues/comments/168415186","html_url":"https://github.com/PorteAperteSulWeb/pasw2015/issues/155#issuecomment-168415186","issue_url":"https://api.github.com/repos/PorteAperteSulWeb/pasw2015/issues/155","id":168415186,"user":{"login":"schiavifabrizio","id":16516546,"avatar_url":"https://avatars.githubusercontent.com/u/16516546?v=3","gravatar_id":"","url":"https://api.github.com/users/schiavifabrizio","html_url":"https://github.com/schiavifabrizio","followers_url":"https://api.github.com/users/schiavifabrizio/followers","following_url":"https://api.github.com/users/schiavifabrizio/following{/other_user}","gists_url":"https://api.github.com/users/schiavifabrizio/gists{/gist_id}","starred_url":"https://api.github.com/users/schiavifabrizio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schiavifabrizio/subscriptions","organizations_url":"https://api.github.com/users/schiavifabrizio/orgs","repos_url":"https://api.github.com/users/schiavifabrizio/repos","events_url":"https://api.github.com/users/schiavifabrizio/events{/privacy}","received_events_url":"https://api.github.com/users/schiavifabrizio/received_events","type":"User","site_admin":false},"created_at":"2016-01-02T18:34:54Z","updated_at":"2016-01-02T18:34:54Z","body":"ho provato a copiare i files (tale e quale) index.php e tmpl_home.php oltre che home-widgets.php modificato come detto. ... non succede nulla. E' come se non vengono ne rilevati e ne letti.\r\n\r\nComunqe l'intenzione è quella di creare una fascia statica come primo step. e se non riesco a risolvere questo quesito, metterò tutto nel tema padre facendo attenzione agli aggiornamenti.\r\n\r\nFabrizio\r\n"}}