{"action":"created","issue":{"url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/3294","repository_url":"https://api.github.com/repos/ThemeFuse/Unyson","labels_url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/3294/labels{/name}","comments_url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/3294/comments","events_url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/3294/events","html_url":"https://github.com/ThemeFuse/Unyson/issues/3294","id":311558746,"number":3294,"title":"How to add <li> id code in section for scroll menu","user":{"login":"Farzan-Shahid","id":36265310,"avatar_url":"https://avatars0.githubusercontent.com/u/36265310?v=4","gravatar_id":"","url":"https://api.github.com/users/Farzan-Shahid","html_url":"https://github.com/Farzan-Shahid","followers_url":"https://api.github.com/users/Farzan-Shahid/followers","following_url":"https://api.github.com/users/Farzan-Shahid/following{/other_user}","gists_url":"https://api.github.com/users/Farzan-Shahid/gists{/gist_id}","starred_url":"https://api.github.com/users/Farzan-Shahid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Farzan-Shahid/subscriptions","organizations_url":"https://api.github.com/users/Farzan-Shahid/orgs","repos_url":"https://api.github.com/users/Farzan-Shahid/repos","events_url":"https://api.github.com/users/Farzan-Shahid/events{/privacy}","received_events_url":"https://api.github.com/users/Farzan-Shahid/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-05T10:38:45Z","updated_at":"2018-04-12T08:31:29Z","closed_at":"2018-04-12T08:31:29Z","author_association":"NONE","body":"I want to make one page theme with scroll menu. I want to use data-scroll-nav in <li> and data-scroll-index in section with same ids:\r\n\r\n`$item_output .= '<a class=\"smooth\" data-scroll-nav=\"'. $item->ID .'\" '. $attributes .'>';`\r\n\r\nAbove code adds id in <li> but i'm unable to add same id in section.\r\n\r\n`<section class=\"fw-main-row bg-img-full main-banner <?php echo esc_attr($section_extra_classes); ?> <?php echo ($custom_classes); ?>\" <?php echo ($custom_id); ?> <?php echo $bg_video_data_attr; ?> style=\"<?php echo $section_style; ?>\" data-scroll-index=\"**i want same id here**\">`\r\n \r\nPlease help me out????"},"comment":{"url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/comments/380722391","html_url":"https://github.com/ThemeFuse/Unyson/issues/3294#issuecomment-380722391","issue_url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/3294","id":380722391,"user":{"login":"ViorelEremia","id":28967378,"avatar_url":"https://avatars3.githubusercontent.com/u/28967378?v=4","gravatar_id":"","url":"https://api.github.com/users/ViorelEremia","html_url":"https://github.com/ViorelEremia","followers_url":"https://api.github.com/users/ViorelEremia/followers","following_url":"https://api.github.com/users/ViorelEremia/following{/other_user}","gists_url":"https://api.github.com/users/ViorelEremia/gists{/gist_id}","starred_url":"https://api.github.com/users/ViorelEremia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ViorelEremia/subscriptions","organizations_url":"https://api.github.com/users/ViorelEremia/orgs","repos_url":"https://api.github.com/users/ViorelEremia/repos","events_url":"https://api.github.com/users/ViorelEremia/events{/privacy}","received_events_url":"https://api.github.com/users/ViorelEremia/received_events","type":"User","site_admin":false},"created_at":"2018-04-12T08:31:29Z","updated_at":"2018-04-12T08:31:29Z","author_association":"CONTRIBUTOR","body":"if you want to create a landing page you must rewrite some section files see here how: http://manual.unyson.io/en/latest/extension/shortcodes/index.html you must add a new section option where to set the id and in view.php show it. Read carefully the documentation because it's easy to do it"}}
{"actor":{"display_login":"ViorelEremia"}}