Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Here is a step-by-step example:

    public function get_documentation_feed($echo=true)
    	{
    		$widget_awd_rss = array(
    			'link' => 'https://facebook-awd.ahwebdev.fr/documentation/',
    			/* start patch 7/13/12 to fix RSS Error
    			* step 1 comment line:
    			* 'url' => 'https://facebook-awd.ahwebdev.fr/feed/?post_type=page&parent=220',
    			* step 2 replace with your feed shown below
    			*/
    			'url' => 'https://substituteyour.com/feed/',
    			/*
    			* step 3 go to: public function get_plugins_feed($echo=true) and make same changes
    			*/
    			'title' => $this->plugin_name.' Documentation',
    			'items' => 20,
    			'show_summary' => 1,
    			'show_author' => 0,
    			'show_date' => 0,
    		);
    		if($echo){ echo $this->admin_get_feeds($widget_awd_rss); }else{ $this->admin_get_feeds($widget_awd_rss); }
    	}
    
    	public function get_plugins_feed($echo=true)
    	{
    		$widget_awd_rss = array(
    			'link' => 'https://facebook-awd.ahwebdev.fr/plugins/',
    			/* step 4 patch 7/13/12 to fix RSS Error
    			* comment line:
    			* 'url' => 'https://facebook-awd.ahwebdev.fr/feed/?post_type=btp_work',
    			* step 5 replace with your feed shown below
    			*/
    			'url' => 'https://substituteyour.com/feed/',
    			/*  end patch 7/13/12 to fix RSS Error */
    			'title' => $this->plugin_name.' Documentation',
    			'items' => 20,
    			'show_summary' => 1,
    			'show_author' => 0,
    			'show_date' => 0,
    		);
    		if($echo){ echo $this->admin_get_feeds($widget_awd_rss); }else{ $this->admin_get_feeds($widget_awd_rss); }
    	}

    I hope this helps!

    Mike,

    I am having the same issue with checkboxes. The valus is always “selected” as in value=”selected” whereas I would like it to be something like value=”subscribed” or anything but “selected” like in Dzafer’s example:

    <input type="checkbox" style="width:13px;" id="si_contact_ex_field1_4" name="si_contact_ex_field4" value="selected" checked="checked" />

    `
    Thanks,
    Stan

Viewing 2 replies - 1 through 2 (of 2 total)