Wednesday, June 4, 2014

Function Referance of Borno CMS

At first Download  offline document of Borno CMS।

Basic function :

  • get_the_option($field) : এটি ডাটাবেজের ওপশন টেবিল থেকে ডাটা নিয়ে আসে ।

  • update_option($field,$value,$createandupdate=true) একইভাবে এটি ডাটা আপডেট করে


User function :

  • is_exists_user($user_id)


Location test

  • is_admin()

  • is_home()

  • is_404()

  • is_orderbyvisit()

  • is_cat()

  • is_single()

  • is_doc()

  • is_search()

  • is_profile()


Get post data

  • get_the_post($post_id , $data)


Impotent 5 function

  • add_header($data) // adding data to header

  • header_view() // add this code header of your theme

  • footer_view() // add this code footer of your theme

  • add_footer($data) // adding data to footer

  • add_page($pagename,$title , $content,$role) // ‍adding a page to admin panel


Widget (ready made widget)

  • login_widget()

  • lasted_content($total)

  • lasted_content_list($total,$li=true)

  • lasted_comment($total)

  • popularpost($total)

  • popularpost_list($total,$list_allowed,$visit_display_allowed)


Shortcode

  • add_freewayshortcode($sortco

  • add_shortcode($sortcodename,$output)

  • dename,$output)

  • add_comment_shortcode($sortcodename,$output)


user Capabilities

  • manage_site

  • edit_user

  • new_post

  • edit_own_post

  • edit_all_post

  • manage_user

  • add_user

  • trash_all_post

  • trash_own_post

  • delete_user

  • manage_doc

  • approved_post

  • add_comment

  • approve_comment

  • manage_comment

  • trash_own_comment

  • trash_all_comment

  • delete_comment

  • restore_comment

  • delete_post

  • back_up

  • restore_post

  • add_category

  • edit_category

  • delete_category

  • manage_notify

  • manage_plugin

  • all

No comments:

Post a Comment