• Hello, my json is

    {
       "name":"Services Page Left Sidebar",
       "id":"sidebar-2",
       "description":"",
       "class":"",
       "before_widget":"<div id=\"%1$s\" class=\"widget %2$s\">",
       "after_widget":"<\/div>",
       "before_title":"<h3 class=\"widgettitle\">",
       "after_title":"<\/h3>",
       "active_widgets":[
          "text-3"
       ]
    }

    i want to print my active widgets.

    Script is

    $http.get('wp-json/be/v1/sidebars/sidebar-2').success(function(res){
    			$scope.sidebar = res;
    });

    please help i am new with json.

    https://www.ads-software.com/plugins/be-rest-endpoints/

  • The topic ‘How to print out put’ is closed to new replies.