....................................../////.===Hehe-Here===./////................................................ > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < ------------------------------------------------------------------------------------------------------------------- /////////////////////////////////////////////////////////////////////////////////////////////////////////////////// RIFF¤ WEBPVP8 ˜ ðÑ *ôô>‘HŸK¥¤"§£±¨àð enü¹%½_F‘åè¿2ºQú³íªú`N¿­3ÿƒügµJžaÿ¯ÿ°~¼ÎùnúîÞÖô•òíôÁÉß®Sm¥Ü/ ‡ó˜f£Ùà<˜„xëJ¢Ù€SO3x<ªÔ©4¿+ç¶A`q@Ì“Úñè™ÍÿJÌ´ª-˜ÆtÊÛL]Ïq*‘Ý”ì#ŸÌÏãY]@ê`¿ /ªfkØB4·®£ó z—Üw¥Pxù–ÞLШKÇN¾AkÙTf½è'‰g gÆv›Øuh~ a˜Z— ïj*á¥t d£“uÒ ¨`K˜¹ßþ]b>˜]_ÏÔ6W—è2r4x•íÖ…"ƒÖNîä!¦å Ú}ýxGøÌ —@ ;ÆÚŠ=ɾ1ý8lªË¥ô ^yf®Œ¢u&2©nÙÇ›ñÂñŒ³ aPo['½»øFùà­+4ê“$!lövlüÞ=;N®3ð‚õ›DÉKòÞ>ÄÍ ¥ˆuߤ#ˆ$6ù™¥îЇy’ÍB¼ çxÛ;X"WL£R÷͝*ó-¶Zu}º.s¸sšXqù–DþÿvªhüïwyŸ ¯é³lÀ:KCûÄ£Ëá\…­ ~—ýóî ¼ûûÜTÓüÇy…ŽÆvc»¾×U ñ¸žþоP÷¦ó:Ò¨¨5;Ð#&#ÖúñläÿÁœ GxÉ­/ñ‡áQðìYÉtÒw޼GÔ´zàÒò ð*ëzƒ•4~H]Ø‹f ñÓÈñ`NåWçs'ÆÏW^ø¹!XžµmQ5ÃËoLœÎ: ÞËÍ¥J ù…î èo£ßPÎñ¶ž8.Œ]ʵ~5›ÙË-ù*8ÙÖß±~ ©¹rÓê‚j¶d¸{^Q'˜±Crß ÚH—#¥¥QlÀ×ëã‡DÜ«èî þ&Çæžî;ŽÏºò6ÒLÃXy&ZŒ'j‚¢Ù€IßÚù+–MGi‰*jE€‘JcÜ ÓÌ EÏÚj]o˜ Þr <¾U ûŪæÍ/šÝH¥˜b”¼ ÁñßX GP›ï2›4WŠÏà×£…íÓk†¦H·ÅíMh–*nó÷à]ÁjCº€b7<ب‹¨5車bp2:Á[UªM„QŒçiNMa#<5›áËó¸HýÊ"…×Éw¹¦ì2º–x<›»a±¸3Weü®FÝ⑱ö–î–³|LPÈ~çð~Çå‡|º kD¢µÏàÆAI %1À% ¹Ò – ”ϝS¦‰4&¶£°à Öý”û_Ò Áw°A«Å€?mÇÛgHÉ/8)á¾ÛìáöŽP í¨PŸNÙµº¦‡§Ùš"ÿ«>+ªÕ`Ê÷‡‚ß Õû˜þãÇ-PÍ.¾XV‘€ dÜ"þ4¹ ±Oú‘©t¥¦FªÄÃÄ•b‚znýu½—#cDs˜ÃiÑOˆñ×QO=*IAÊ,¶ŽZƒ;‡wøXè%EÐk:F±Ú” .Ѽ+Áu&Ç`."pÈÉw o&¿dE6‘’EqTuK@Ì¥ã™À(Êk(h‰,H}RÀIXÛš3µ1©_OqÚÒJAñ$ÊÙÜ;D3çŒ[þùœh¬Ã³™ö6ç†NY".Ú‰ï[ªŸŒ '²Ð öø_¨ÂÉ9ué¶³ÒŠõTàîMØ#û¯gN‡bÙ놚X„ö …ÉeüÌ^J ‹€.œ$Æ)βÄeæW#óüßĺŸ€ ÀzwV 9oä»f4V*uB «Ë†¹ì¯žR霓æHXa=&“I4K;¯ç‹h×·"UŠ~<•╪Vêª&ÍSÃÆÅ?ÔqÎ*mTM ˜›µwêd#[C¡©§‘D<©àb†–ÁœøvH/,í:¯( ²£|4-„Æövv„Yͼ™^Á$ˆ„¢Û[6yB.åH*V¨æ?$=˜Ñ€•ñ·­(VlŸ‘ nÀt8W÷´Bûba?q9ú¶Xƒl«ÿ\ù¶’þòUÐj/õ¢Ìµ³g$ƒÎR!¸»|Oߍë’BhîÚÑ¢ñåŒJ„®„£2Ð3•ô02Nt…!£Í]Ïc½Qÿ?ˆ<&ÃA¾Ú,JˆijÌ#5yz„‰Î|ÊŽ5QÏ:‹ÐaóVÔxW—CpeÏzÐïíçôÿÅ_[hãsÐ_/ŽTÝ?BîˆííV$<¿i>²F¬_Eß¿ †bÊŒº­ÿ®Z H“C}”¬,Mp ý/Bá£w>˜YV°aƒúh+cŠ- r/[%|üUMHäQ°X»|û/@|°¥Ð !BÔ Ç¢Ä©š+Õì D«7ìN¶ŽðÔ " ƶ’ÖçtA‰Û×}{tþz­¾GÍ›k¹OEJR$ Â׃ «ëÁ"oÉôž$oUK(Ä)Ãz³Ê-‹êN[Ò3Œñbï8P 4ƒ×q¢bo|?<ÛX¬òÄͰL–±›(™ûG?ýË©ÚÄ–ÂDØÐ_Ç¡ô ¾–ÄÏø ×e8Ë©$ÄF¹Å‹ì[©óìl:F¾f´‹‹Xì²ï®\¬ôùƒ ÿat¥óèÒùHß0äe‚;ü×h:ÆWðHž=Ã8骣"kœ'Y?³}Tûè€>?0l›e1Lòñ„aæKÆw…hÖŠùW…ÈÆÄ0ši·›[pcwËþñiêíY/~-Á5˜!¿†A›™Mÿþ(±“t@â“ö2­´TG5yé]çå僳 .·ÍïçÝ7UÚ±Ð/Nè»,_Ï ùdj7\ï Wì4›„»c¸àešg#ÒÊ⥭áØo5‘?ÌdÝô¯ ¹kzsƒ=´#ëÉK›Ø´±-¥eW?‡çßtòTã…$Ý+qÿ±ƒ÷_3Ô¥í÷:æ–ž<·Ö‡‰Å¢ š‡%Ô—utÌÈìðžgÖÀz²À—ï÷Óîäõ{K'´È÷³yaÏÁjƒô}ž§®æÊydÕÈë5¯èˆõvÕ©ã*çD„ “z„Ó‡^^xÂ3M§A´JG‚öï 3W'ˆ.OvXè¡ÊÕª?5º7†˜(˜Ç¶#çê’¶!ÌdZK§æ 0fãaN]òY³RV ™î$®K2R¨`W!1Ôó\;Ý ýB%qæK•&ÓÈe9È0êI±žeŸß -ú@žQr¦ ö4»M¼Áè¹µmw 9 EÆE_°2ó„ŸXKWÁ×Hóì^´²GѝF©óäR†¦‰ç"V»eØ<3ùd3ÿÚ¤Žú“Gi" —‘_ÙËÎ~Üö¯¥½Î»üŸEÚŽåmÞþí ;ÞólËΦMzA"Âf(´òá;Éï(/7½ûñÌ­cïÕçлþÝz¾-ÍvÑ“pH­–ðÓj$¸Äû¤‚‘ãUBË-n“2åPkS5&‹Â|+g^œ®Ì͆d!OïäîU«c;{Û!ÅŽ«ëZ9Ókóˆ]¯ƒ›né `ÇÒ+tÆš (ØKá¾—=3œ®•vuMñg²\ï Ec€ 05±d™‡×iÇ×›UúvÌ¢£Èþ¡ÕØô¶ßÎA"ß±#Ö²ˆÊŸ¦*Ä~ij|àø.-¼'»Ú¥£h ofº¦‡VsR=N½„Î v˜Z*SÌ{=jÑB‹tê…;’HžH¯8–îDù8ñ¢|Q•bÛçš–‹m³“ê¨ åÏ^m¬Žãþ©ïêO‡½6] µÆ„Ooòü ²x}N¦Ë3ïé¿»€›HA˜m%çÞ/¿í7Fø“‹léUk)É°Œµ8Q8›:ÀŠeT*šõ~ôڝG6 ¢}`ùH­–”¡k ‰P1>š†®9z11!X wKfmÁ¦xÑ,N1Q”–æB¶M…ÒÃv6SMˆhU¬ÊPŽï‘öj=·CŒ¯u¹ƒVIЃsx4’ömÛýcå¡¶7ßŠß 57^\wÒÐÆ k§h,Œý î«q^R½3]J¸ÇðN ‚çU¬ôº^Áì} ³f©Õœ§ˆã:FÄÈ‚é(€™?àýÓüè1Gô£¼éj‚OÅñ  #>×—ßtà 0G¥Åa뀐kßhc™À_ÉñÞ#±)GD" YîäË-ÿÙ̪ ¹™a¯´¢E\ÝÒö‚;™„ë]_ p8‰o¡ñ+^÷ 3‘'dT4œŽ ðVë½° :¬víÑ«£tßÚS-3¶“þ2 †üüʨòrš¹M{É_¤`Û¨0ìjœøJ‡:÷ÃáZ˜†@GP&œÑDGÏs¡þ¦þDGú‘1Yá9Ôþ¼ ûø…§÷8&–ÜÑnÄ_m®^üÆ`;ÉVÁJ£?â€-ßê}suÍ2sõA NÌúA磸‘îÿÚ»ƒìö·á¿±tÑÐ"Tÿü˜[@/äj¬€uüªìù¥Ý˜á8Ý´sõj 8@rˆð äþZÇD®ÿUÏ2ùôõrBzÆÏÞž>Ì™xœ“ wiÎ×7_… ¸ \#€MɁV¶¥üÕÿPÔ9Z‡ø§É8#H:ƒ5ÀÝå9ÍIŒ5åKÙŠ÷qÄ>1AÈøžj"µÂд/ªnÀ qªã}"iŸBå˜ÓÛŽ¦…&ݧ;G@—³b¯“•"´4í¨ôM¨åñC‹ïùÉó¯ÓsSH2Ý@ßáM‡ˆKÀªÛUeø/4\gnm¥‹ŸŒ qÄ b9ÞwÒNÏ_4Ég³ú=܆‚´ •â¥õeíþkjz>éÚyU«Íӝ݃6"8/ø{=Ô¢»G¥ äUw°W«,ô—¿ãㆅү¢³xŠUû™yŒ (øSópÐ 9\åTâ»—*oG$/×ÍT†Y¿1¤Þ¢_‡ ¼ „±ÍçèSaÓ 3ÛMÁBkxs‰’R/¡¤ˆÙçª(*õ„üXÌ´ƒ E§´¬EF"Ù”R/ÐNyÆÂ^°?™6¡œïJ·±$§?º>ÖüœcNÌù¯G ‹ñ2ЁBB„^·úìaz¨k:#¨Æ¨8LÎõލ£^§S&cŒÐU€ü(‡F±Š¼&P>8ÙÁ ‰ p5?0ÊÆƒZl¸aô š¼¡}gÿ¶zÆC²¹¬ÎÖG*HB¡O<º2#ñŒAƒ–¡B˜´É$¥›É:FÀÔx¾u?XÜÏÓvN©RS{2ʈãk9rmP¼Qq̳ è¼ÐFׄ^¡Öì fE“F4A…!ì/…¦Lƒ… … $%´¾yã@CI¬ á—3PþBÏNÿ<ý°4Ü ËÃ#ØÍ~âW«rEñw‹eùMMHß²`¬Öó½íf³:‹k˜¯÷}Z!ã¿<¥,\#öµÀ¯aÒNÆIé,Ћ–lŽ#Àæ9ÀÒS·I’½-Ïp Äz¤Š Â* ­íÄ9­< h>׍3ZkËU¹§˜ŒŠ±f­’¤º³Q ÏB?‹#µíÃ¥®@(Gs«†vI¥Mµ‹Á©e~2ú³ÁP4ìÕi‚²Ê^ö@-DþÓàlÜOÍ]n"µã:žpsŽ¢:! Aõ.ç~ÓBûH÷JCÌ]õVƒd «ú´QÙEA–¯¯Œ!.ˆˆëQ±ù œ·Ì!Õâ )ùL„ÅÀlÚè5@B…o´Æ¸XÓ&Û…O«˜”_#‡ƒ„ûÈt!¤ÁÏ›ÎÝŠ?c9 â\>lÓÁVÄÑ™£eØY]:fÝ–—ù+p{™ðè û³”g±OƒÚSù£áÁÊ„ä,ï7š²G ÕÌBk)~ÑiCµ|h#u¤¶îK¨² #²vݯGãeÖ϶ú…¾múÀ¶þÔñ‚Š9'^($¤§ò “š½{éúp÷J›ušS¹áªCÂubÃH9™D™/ZöØÁ‡¦ÝÙŸ·kð*_”.C‹{áXó€‡c¡c€§/šò/&éš÷,àéJþ‰X›fµ“C¨œ®r¬"kL‰Â_q…Z–.ÉL~O µ›zn‚¹À¦Öª7\àHµšÖ %»ÇníV[¥*Õ;ƒ#½¾HK-ÖIÊdÏEÚ#=o÷Óò³´Š: Ç?{¾+9›–‘OEáU·S€˜j"ÄaÜ ŒÛWt› á–c#a»pÔZÞdŽtWê=9éöÊ¢µ~ ë ;Öe‡Œ®:bî3±ýê¢wà¼îpêñ¹¾4 zc¾ðÖÿzdêŒÑÒŝÀ‰s6¤í³ÎÙB¿OZ”+F¤á‡3@Ñëäg©·Ž ˆèª<ù@É{&S„œÕúÀA)‰h:YÀ5^ÂÓŒ°õäU\ ùËÍû#²?Xe¬tu‰^zÒÔãë¼ÛWtEtû …‚g¶Úüâî*moGè¨7%u!]PhÏd™Ý%Îx: VÒ¦ôÊD3ÀŽKÛËãvÆî…N¯ä>Eró–ð`5 Œ%u5XkñÌ*NU%¶áœÊ:Qÿú»“úzyÏ6å-၇¾ ´ ÒÊ]y žO‘w2Äøæ…H’²f±ÎÇ.ª|¥'gîV•Ü .̘¯€šòü¤U~Ù†*¢!?ò wý,}´°ÔÞnïoKq5µb!áÓ3"vAßH¡³¡·G(ÐÎ0Îò¼MG!/ài®@—¬04*`…«é8ªøøló“ˆÊ”èù¤…ßÊoÿé'ËuÌÖ5×È¡§ˆˆfŽë9}hìâ_!!¯  B&Ëö¶‰ÀAÙNVŸ Wh›¸®XÑJì¨ú“¿÷3uj²˜¨ÍÎìë±aúŠÝå¯ð*Ó¨ôJ“yºØ)m°WýOè68†ŸÏ2—‰Ïüꪫٚ¥‹l1 ø ÏÄFjêµvÌbü¦èÝx:X±¢H=MÐß—,ˆÉÇ´(9ú¾^ÅÚ4¿m‡$âX‘å%(AlZo@½¨UOÌÕ”1ø¸jÎÀÃÃ_ µ‘Ü.œº¦Ut: Æï’!=¯uwû#,“pþÇúŒø(é@?³ü¥‘Mo §—s@Œ#)§ŒùkL}NOÆêA›¸~r½¼ÙA—HJ«eˆÖ´*¡ÓpÌŸö.m<-"³ûÈ$¬_6­åf£ïÚâj1y§ÕJ½@dÞÁr&Í\Z%D£Íñ·AZ Û³øüd/ªAi†/Й~  ‡âĮҮÏh§°b—›Û«mJžòG'[ÈYýŒ¦9psl ýÁ ®±f¦x,‰½tN ‚Xª9 ÙÖH.«Lo0×?͹m¡å†Ѽ+›2ƒF ±Ê8 7Hցϓ²Æ–m9…òŸï]Â1äN†VLâCˆU .ÿ‰Ts +ÅÎx(%¦u]6AF Š ØF鈄‘ |¢¶c±soŒ/t[a¾–û:s·`i햍ê›ËchÈ…8ßÀUÜewŒðNOƒõD%q#éû\9¤x¹&UE×G¥ Í—™$ð E6-‡¼!ýpãÔM˜ Âsìe¯ñµK¢Ç¡ùôléœ4Ö£”À Š®Ðc ^¨À}ÙËŸ§›ºê{ÊuÉC ×Sr€¤’fÉ*j!úÓ’Gsùìoîßîn%ò· àc Wp÷$¨˜)û»H ×8ŽÒ€Zj¤3ÀÙºY'Ql¦py{-6íÔCeiØp‘‡XÊîÆUߢ܂ž£Xé¼Y8þ©ëgñß}é.ÎógÒ„ÃØËø¯»™§Xýy M%@NŠ À(~áÐvu7&•,Ù˜ó€uP‡^^®=_E„jt’ 403WebShell
403Webshell
Server IP : 159.198.67.129  /  Your IP : 216.73.216.75
Web Server : LiteSpeed
System : Linux server166.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User : trooaisr ( 4033)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/softaculous/sitepad/editor/site-data/plugins/documentor/includes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/softaculous/sitepad/editor/site-data/plugins/documentor/includes/shortcodes.php
<?php
// We need the ABSPATH
if (!defined('ABSPATH')) exit;

global $pagelayer;

// Sidebar
pagelayer_add_shortcode(PAGELAYER_SC_PREFIX.'_dm_sidebar', array(
    'name' => __pl('documentor_sidebar'),
    'group' => 'documentor',
    'html' => '<div class="documentor-sidebar documentor-single">
    <a class="documentor-sidebar-toggler"><i class="fas fa-bars"></i></a>
    <div class="documentor-single-sidebar">
    <div class="documentor-single-sidebar-wrap">
    <form if={{show_search}} role="search" method="get" class="documentor-search-form" action="'. esc_url( home_url( '/' ) ) .'">
    <input type="search" class="documentor-search-field" placeholder="'. esc_attr__( 'Type to search', 'documentor' ) .'" value="'. get_search_query() .'" name="s" autocomplete="off">
    <input type="hidden" name="post_type" value="docs">
    <input if={{hide_parent}} type="hidden" name="child_of" value="'.esc_attr( documentor()->get_current_doc_id() ) .'">    <div class="documentor-dual-ring"></div>
    </form>
    <div class="documentor-search-form-result"></div>
    <div class="documentor_sidebar_nav_list">{{post_html}}</div> 
    </div>
    </div>
    </div>',
    'params' => array(
        'hide_parent' => array(
            'type' => 'checkbox',
            'label' => __pl('hide_parent'),
            'default' => '',
        ),
        'show_child' => array(
            'type' => 'checkbox',
            'label' => __pl('show_child'),
            'default' => 'true',
        ),
        'show_search' => array(
            'type' => 'checkbox',
            'label' => __pl('show_search'),
            'default' => 'true',
        ),
        'hide_count' => array(
            'type' => 'checkbox',
            'label' => __pl('hide_count'),
            'default' => 'true',
            'css' => ['{{element}} .documentor-single-sidebar .documentor-nav-list sup' => 'display:none;'],
        ),
    ),
    'sidebar_styles' => array(
        'typo' => array(
            'type' => 'typography',
            'label' => __pl('typography'),
            'css' => ['{{element}} .documentor-nav-list'=> 'font-family: {{val[0]}} !important; font-size: {{val[1]}}px !important; font-style: {{val[2]}} !important; font-weight: {{val[3]}} !important; font-variant: {{val[4]}} !important; text-decoration-line: {{val[5]}} !important; text-decoration-style: {{val[6]}} !important; line-height: {{val[7]}}em !important; text-transform: {{val[8]}} !important; letter-spacing: {{val[9]}}px !important; word-spacing: {{val[10]}}px !important;'],
        ),
        'bgcolor' => array(
            'type' => 'color',
            'label' => __pl('bg_color'),
            'css' => ['{{element}}'=> 'background-color:{{val}}'],
        ),
        'list_style' => array(
            'type' => 'select',
            'label' => __pl('list_style'),
            'np' => 1,
            'default' => 'none',
            'list' => array(
                'none' => __pl('none'),
                'circle' => __pl('list_list_type_circle'),
                'decimal' => __pl('decimal'),
                'square' => __pl('list_list_type_square'),
                'disc' => __pl('list_list_type_disc'),
                'inherit' => __pl('inherit'),
                'upper-roman' => __pl('upper_roman'),
                'upper-alpha' => __pl('upper_alpha'),
                'lower-roman' => __pl('lower_roman'),
                'lower-alpha' => __pl('lower_alpha'),
            ),
            'css' => ['{{element}} .documentor-nav-list li' => 'list-style-type: {{val}};']
        ),
        'link_colors' => array(
            'type' => 'radio',	
            'label' => __pl('colors'),
            'list' => array(
                'normal' => __pl('normal'),
                'hover' => __pl('hover'),
                'active' => __pl('active'),
            ),
        ),
        'link_color' => array(
            'type' => 'color',	
            'label' => __pl('color'),
            'css' => ['{{element}} .documentor-nav-list li a, .documentor-nav-list li' => 'color:{{val}} !important'],
            'show' => [ 'link_colors' => 'normal'],
        ),
        'link_hover_color' => array(
            'type' => 'color',	
            'label' => __pl('hover_color'),
            'css' => ['{{element}} .documentor-nav-list li > a:hover, .documentor-nav-list li:hover' => 'color:{{val}} !important'],
            'show' => [ 'link_colors' => 'hover'],
        ),
        'link_current_color' => array(
            'type' => 'color',	
            'label' => __pl('current_color'),
            'css' => ['{{element}} .documentor-nav-list li.current_page_item > a, .documentor-nav-list li.current_page_item' => 'color:{{val}} !important'],
            'show' => [ 'link_colors' => 'active']
        ),
        'padding' => array(
            'type' => 'padding',
            'label' => __pl('padding'),
            'default' => '0,0,0,25',
            'screen' => 1,
            'css' => ['{{element}} .documentor-nav-list' => 'padding-top: {{val[0]}}px !important; padding-right: {{val[1]}}px !important; padding-bottom: {{val[2]}}px !important; padding-left: {{val[3]}}px !important;'],
        ),
        'margin' => array(
            'type' => 'padding',
            'label' => __pl('spacing'),
            'step' => 1,
            'max' => 60,
            'default' => '10',
            'css' => ['{{element}} .documentor-nav-list' => 'margin-top: {{val[0]}}px !important; margin-right: {{val[1]}}px !important; margin-bottom: {{val[2]}}px !important; margin-left: {{val[3]}}px !important'],
        ),
    ),
    'count_styles' => array(
        'ctypo' => array(
            'type' => 'typography',
            'label' => __pl('typography'),
            'css' => ['{{element}} .documentor-nav-list li ul.children a sup'=> 'font-family: {{val[0]}}; font-size: {{val[1]}}px !important; font-style: {{val[2]}} !important; font-weight: {{val[3]}} !important; font-variant: {{val[4]}} !important; text-decoration-line: {{val[5]}} !important; text-decoration-style: {{val[6]}} !important; line-height: {{val[7]}}em !important; text-transform: {{val[8]}} !important; letter-spacing: {{val[9]}}px !important; word-spacing: {{val[10]}}px !important;'],
        ),
        'count_style_bg' => array(
            'type' => 'color',
            'label' => __pl('bg_color'),
            'css' => ['{{element}} .documentor-nav-list li ul.children a sup' => 'background:{{val}}']
        ),
        'count_style_color' => array(
            'type' => 'color',
            'label' => __pl('color'),
            'css' => ['{{element}} .documentor-nav-list li ul.children a sup' => 'color:{{val}}']
        ),
    ),
    'search_style' => array(
        'stypo' => array(
            'type' => 'typography',
            'label' => __pl('typography'),
            'css' => ['{{element}} .documentor-search-form'=> 'font-family: {{val[0]}}; font-size: {{val[1]}}px !important; font-style: {{val[2]}} !important; font-weight: {{val[3]}} !important; font-variant: {{val[4]}} !important; text-decoration-line: {{val[5]}} !important; text-decoration-style: {{val[6]}} !important; line-height: {{val[7]}}em !important; text-transform: {{val[8]}} !important; letter-spacing: {{val[9]}}px !important; word-spacing: {{val[10]}}px !important;'],
        ),
        'sbgcolor' => array(
            'type' => 'color',
            'label' => __pl('bg_color'),
            'css' => ['{{element}} .documentor-search-form'=> 'background-color:{{val}}'],
        ),
        'scolor' => array(
            'type' => 'color',
            'label' => __pl('color'),
            'css' => ['{{element}} .documentor-search-form '=> 'color:{{val}}'],
        ),
        'swidth' => array(
            'type' => 'slider',
            'label' => __pl('width'),
            'units' => ['%', 'px'],
            'min' => 0,
            'screen' => 1,
            'css' => ['{{element}} .documentor-search-form' => 'width: {{val}} !important'],
        ),
        'sheight' => array(
            'type' => 'slider',
            'label' => __pl('height'),
            'units' => ['%', 'px'],
            'min' => 0,
            'screen' => 1,
            'css' => ['{{element}} .documentor-search-form' => 'height: {{val}} !important'],
        ),
        'spadding' => array(
            'type' => 'padding',
            'label' => __pl('padding'),
            'default' => '0,0,0,0',
            'screen' => 1,
            'css' => ['{{element}} .documentor-search-form' => 'padding-top: {{val[0]}}px !important; padding-right: {{val[1]}}px !important; padding-bottom: {{val[2]}}px !important; padding-left: {{val[3]}}px !important;'],
        ),
        'smargin' => array(
            'type' => 'padding',
            'label' => __pl('margin'),
            'step' => 1,
            'max' => 60,
            'default' => '0,0,0,0',
            'css' => ['{{element}} .documentor-search-form' => 'margin-top: {{val[0]}}px !important; margin-right: {{val[1]}}px !important; margin-bottom: {{val[2]}}px !important; margin-left: {{val[3]}}px !important'],
        ),
        'sbox_shadow' => array(
            'type' => 'box_shadow',
            'label' => __pl('box_shadow'),
            'css' => ['{{element}} .documentor-search-form .documentor-search-field' => 'box-shadow: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[4]}}px {{val[3]}} {{val[5]}} !important;'],
        ),
        'sbox_bor_hover' => array(
            'type' => 'radio',
            'label' => __pl('state'),
            'list' => array(
                '' => __pl('normal'),
                'hover' => __pl('hover'),
            )
        ),	
        'sbox_border_type' => array(
            'type' => 'select',
            'label' => __pl('border_type'),
            'css' => [
                '{{element}} .documentor-search-form .documentor-search-field' => 'border-style: {{val}} !important;',
                ],
            'list' => [
                '' => __pl('none'),
                'solid' => __pl('solid'),
                'double' => __pl('double'),
                'dotted' => __pl('dotted'),
                'dashed' => __pl('dashed'),
                'groove' => __pl('groove'),
            ],
            'show' => array(
                'sbox_bor_hover' => ''
            ),
        ),
        'sbox_border_color' => array(
            'type' => 'color',
            'label' => __pl('border_color_label'),
            'default' => '',
            'css' => ['{{element}} .documentor-search-form .documentor-search-field' => 'border-color: {{val}} !important;'],
            'req' => array(
                '!sbox_border_type' => ''
            ),
            'show' => array(
                'sbox_bor_hover' => ''
            ),
        ),
        'sbox_border_width' => array(
            'type' => 'padding',
            'label' => __pl('border_width'),
            'screen' => 1,
            'default' => '1,1,1,1',
            'css' => ['{{element}} .documentor-search-form .documentor-search-field' => 'border-top-width: {{val[0]}}px !important; border-right-width: {{val[1]}}px !important; border-bottom-width: {{val[2]}}px !important; border-left-width: {{val[3]}}px !important'],
            'req' => [
                '!sbox_border_type' => ''
            ],
            'show' => array(
                'sbox_bor_hover' => ''
            ),
        ),
        'sbox_border_radius' => array(
            'type' => 'padding',
            'label' => __pl('border_radius'),
            'screen' => 1,
            'css' => ['{{element}} .documentor-search-form .documentor-search-field' => 'border-radius: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px; -webkit-border-radius:  {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px;-moz-border-radius: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px;'],
            'show' => array(
                'sbox_bor_hover' => '',
            ),
        ),
        'sbox_border_type_hover' => array(
            'type' => 'select',
            'label' => __pl('border_type'),
            'css' => [
                '{{element}} .documentor-search-form .documentor-search-field:hover' => 'border-style: {{val}} !important',	
            ],
            'list' => [
                '' => __pl('none'),
                'solid' => __pl('solid'),
                'double' => __pl('double'),
                'dotted' => __pl('dotted'),
                'dashed' => __pl('dashed'),
                'groove' => __pl('groove'),
            ],
            'show' => array(
                'sbox_bor_hover' => 'hover'
            ),
        ),
        'sbox_border_color_hover' => array(
            'type' => 'color',
            'label' => __pl('border_color_hover_label'),
            'default' => '',
            'css' => ['{{element}} .documentor-search-form .documentor-search-field:hover' => 'border-color: {{val}} !important'],
            'req' => array(
                '!sbox_border_type_hover' => ''
            ),
            'show' => array(
                'sbox_bor_hover' => 'hover'
            ),
        ),
        'sbox_border_width_hover' => array(
            'type' => 'padding',
            'label' => __pl('border_width_hover'),
            'default' => '1,1,1,1',
            'screen' => 1,
            'css' => [
                '{{element}} .documentor-search-form .documentor-search-field:hover' => 'border-top-width: {{val[0]}}px !important; border-right-width: {{val[1]}}px !important; border-bottom-width: {{val[2]}}px !important; border-left-width: {{val[3]}}px !important;'
            ],
            'req' => [
                '!sbox_border_type_hover' => ''
            ],
            'show' => array(
                'sbox_bor_hover' => 'hover'
            ),
        ),
        'sbox_border_radius_hover' => array(
            'type' => 'padding',
            'label' => __pl('border_radius_hover'),
            'screen' => 1,
            'css' => ['{{element}} .documentor-search-form .documentor-search-field:hover' => 'border-radius: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px; -webkit-border-radius:  {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px;-moz-border-radius: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px;'],
            'show' => array(
                'sbox_bor_hover' => 'hover',	
            ),
        ),
    ),
    'styles' => array(
        'params' => __pl('sidebar_settings'),
        'sidebar_styles' => __pl('sidebar_styles'),
        'count_styles' => __pl('count_styles'),
        'search_style' => __pl('search_style'),
    ),

));

//Footer
pagelayer_add_shortcode(PAGELAYER_SC_PREFIX.'_dm_footer', array(
    'name' => __pl('documentor_footer'),
    'group' => 'documentor',
    'html' => '<div class="documentor-footer">
    <footer class="entry-footer">
        <div if="{{show_author}}" itemprop="author" itemscope itemtype="https://schema.org/Person">
            <meta itemprop="name" content="'. esc_attr( get_the_author() ) .'" />
            <meta itemprop="url" content="'. esc_attr( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) .'" />
        </div>
        <meta if="{{show_time}}" itemprop="datePublished" content="'. esc_attr( get_the_time( 'c' ) ).'"/>  
        <time if="{{show_date}}" itemprop="dateModified" datetime="'.esc_attr( get_the_modified_date( 'c' ) ) .'">'. 
        sprintf( esc_html__( 'Last modified %s', 'documentor' ), esc_html( get_the_modified_date() ) ).'
        </time>
    </footer>
    </div>',
    'params' => array(
        'show_author' => array(
            'type' => 'checkbox',
            'label' => __pl('show_author'),
            'default' => 'true',
        ),
        'show_date' => array(
            'type' => 'checkbox',
            'label' => __pl('show_date'),
            'default' => 'true',
        ),
        'show_time' => array(
            'type' => 'checkbox',
            'label' => __pl('show_time'),
            'default' => 'true',
        ),
    ),
    'text_styles' => array(
        'typo' => array(
            'type' => 'typography',
            'label' => __pl('typography'),
            'css' => ['{{element}} .documentor-footer'=> 'font-family: {{val[0]}}; font-size: {{val[1]}}px !important; font-style: {{val[2]}} !important; font-weight: {{val[3]}} !important; font-variant: {{val[4]}} !important; text-decoration-line: {{val[5]}} !important; text-decoration-style: {{val[6]}} !important; line-height: {{val[7]}}em !important; text-transform: {{val[8]}} !important; letter-spacing: {{val[9]}}px !important; word-spacing: {{val[10]}}px !important;'],
        ),
        'bgcolor' => array(
            'type' => 'color',
            'label' => __pl('bg_color'),
            'css' => ['{{element}} .documentor-footer '=> 'background-color:{{val}}'],
            'show' => ['state' => ""],
        ),
        'color' => array(
            'type' => 'color',
            'label' => __pl('color'),
            'css' => ['{{element}} .documentor-footer'=> 'color:{{val}}'],
            'show' => ['state' => ""],
        ),
        'align' => array(
            'type' => 'select',
            'label' => __pl('align'),
            'css' => ['{{element}} .documentor-footer footer'=> 'text-align:{{val}}'],
            'list' => array(
                '' => __pl('Left'),
                'center' => __pl('center'),
                'right' => __pl('right '),
            ),
        ),
    ),
    'styles' => array(
        'text_styles' => __pl('text_styles')
    ),

));

//Breadcrumb
pagelayer_add_shortcode(PAGELAYER_SC_PREFIX.'_dm_breadcrumbs', array(
    'name' => __pl('documentor_breadcrumb'),
    'group' => 'documentor',
    'addClass' => 'documentor-single',
    'html' => '<div class="documentor-breadcrumbs">
    <ul class="documentor-single-breadcrumbs" itemscope itemtype="http://schema.org/BreadcrumbList">
    <a class="documentor-sidebar-toggler"><i class="fas fa-bars"></i></a>
    {{post_html}}
    </ul>
    </div>',
    'params' => array(
        'typo' => array(
            'type' => 'typography',
            'label' => __pl('typography'),
            'css' => ['{{element}} .documentor-single-breadcrumbs'=> 'font-family: {{val[0]}}; font-size: {{val[1]}}px !important; font-style: {{val[2]}} !important; font-weight: {{val[3]}} !important; font-variant: {{val[4]}} !important; text-decoration-line: {{val[5]}} !important; text-decoration-style: {{val[6]}} !important; line-height: {{val[7]}}em !important; text-transform: {{val[8]}} !important; letter-spacing: {{val[9]}}px !important; word-spacing: {{val[10]}}px !important;'],
        ),
        'bgcolor' => array(
            'type' => 'color',
            'label' => __pl('bg_color'),
            'css' => ['{{element}} .documentor-single-breadcrumbs'=> 'background-color:{{val}}'],
        ),
        'state' => array(
            'type' => 'radio',
            'label' => __pl('state'),
            'default' => '',
            'list' => array(
                '' => __pl('normal'),
                'hover' => __pl('hover'),
            )
        ),
        'abgcolor' => array(
            'type' => 'color',
            'label' => __pl('bg_color'),
            'css' => ['{{element}} .documentor-single-breadcrumbs a'=> 'background-color:{{val}}'],
            'show' => ['state' => ""],
        ),
        'acolor' => array(
            'type' => 'color',
            'label' => __pl('color'),
            'css' => ['{{element}} .documentor-single-breadcrumbs a'=> 'color:{{val}}'],
            'show' => ['state' => ""],
        ),
        'abgcolor_hover' => array(
            'type' => 'color',
            'label' => __pl('bg_color'),
            'css' => ['{{element}} .documentor-single-breadcrumbs a:hover'=> 'background-color:{{val}}'],
            'show' => ['state' => "hover"],
        ),
        'acolor_hover' => array(
            'type' => 'color',
            'label' => __pl('color'),
            'css' => ['{{element}} .documentor-single-breadcrumbs a:hover'=> 'color:{{val}}'],
            'show' => ['state' => "hover"],
        ),
        'align' => array(
            'type' => 'select',
            'label' => __pl('align'),
            'css' => ['{{element}} .documentor-single-breadcrumbs'=> 'text-align:{{val}}'],
            'list' => array(
                '' => __pl('Left'),
                'center' => __pl('center'),
                'right' => __pl('right '),
            ),
        ),
    ),
    'separator_style' => [
        'separator' => array(
            'type' => 'text',
            'label' => __pl('separator_style'),
            'default' => '/',
        ),
        'separator_color' => array(
            'type' => 'color',
            'label' => __pl('color'),				
            'np' => 1,
            'default' => '#333333',
            'css' => ['{{element}} .delimiter' => 'color:{{val}};']
        ),
    ],
    'styles' => [
        'params' => __pl('breadcrumb'),
        'separator_style' => __pl('separator_style'),
    ]

));

//Feedback
pagelayer_add_shortcode(PAGELAYER_SC_PREFIX.'_dm_feedback', array(
    'name' => __pl('documentor_feedback'),
    'group' => 'documentor',
    'html' => '<div class="documentor-feedback">
    <div class="documentor-single-feedback">
    <div>{{question}}</div>
    <div class="documentor-single-feedback-vote">
    <a href="#" class="documentor-btn" data-id="'. get_the_ID() .'" data-type="positive" title="{{positive_title}}">'.esc_html__( 'Yes', 'documentor' ).'
    {{pcount}}</a>
    <a href="#" class="documentor-btn" data-id="'. get_the_ID() .'" data-type="negative" title="{{negative_title}}">'.esc_html__( 'No', 'documentor' ).'
    {{ncount}}</a>
    </div></div>
    </div>',
    'params' => array(
        'positive_title' => array(
            'type' => 'text',
            'label' => __pl('positive_title'),
            'default' => 'person found this useful',
        ),
        'negative_title' => array(
            'type' => 'text',
            'label' => __pl('negative_title'),
            'default' => 'persons found this not useful',
        ),
        'no_votes' => array(
            'type' => 'text',
            'label' => __pl('no_votes'),
            'default' => 'No votes yet',
        ),
        'question' => array(
            'type' => 'text',
            'label' => __pl('question'),
            'default' => 'Was this page helpful?',
        ),
        'show_counts' => array(
            'type' => 'checkbox',
            'label' => __pl('show_counts'),
            'default' => 'true',
        ),

    ),
    'link_styles' => array(
        'typo' => array(
            'type' => 'typography',
            'label' => __pl('typography'),
            'css' => ['{{element}} .documentor-feedback'=> 'font-family: {{val[0]}}; font-size: {{val[1]}}px !important; font-style: {{val[2]}} !important; font-weight: {{val[3]}} !important; font-variant: {{val[4]}} !important; text-decoration-line: {{val[5]}} !important; text-decoration-style: {{val[6]}} !important; line-height: {{val[7]}}em !important; text-transform: {{val[8]}} !important; letter-spacing: {{val[9]}}px !important; word-spacing: {{val[10]}}px !important;'],
        ),
        'color' => array(
            'type' => 'color',
            'label' => __pl('color'),
            'css' => ['{{element}} .documentor-feedback'=> 'color:{{val}}'],
        ),
        'bgcolor' => array(
            'type' => 'color',
            'label' => __pl('bg_color'),
            'css' => ['{{element}} .documentor-feedback'=> 'background-color:{{val}}'],
        ),
        'padding' => array(
            'type' => 'padding',
            'label' => __pl('padding'),
            'screen' => 1,
            'css' => ['{{element}} .documentor-feedback' => 'padding-top: {{val[0]}}px !important; padding-right: {{val[1]}}px !important; padding-bottom: {{val[2]}}px !important; padding-left: {{val[3]}}px !important;'],
        ),
        'margin' => array(
            'type' => 'padding',
            'label' => __pl('margin'),
            'step' => 1,
            'max' => 60,
            'css' => ['{{element}} .documentor-feedback' => 'margin-top: {{val[0]}}px !important; margin-right: {{val[1]}}px !important; margin-bottom: {{val[2]}}px !important; margin-left: {{val[3]}}px !important'],
        ),

    ),
    'p_styles' => array(
        'plink_colors' => array(
            'type' => 'radio',	
            'label' => __pl('positive_btn_colors'),
            'list' => array(
                'normal' => __pl('normal'),
                'hover' => __pl('hover'),
            ),
        ),
        'plink_color' => array(
            'type' => 'color',	
            'label' => __pl('color'),
            'css' => ['{{element}} .documentor-btn[data-type="positive"], .documentor-btn[data-type="positive"] .badge' => 'color:{{val}}'],
            'show' => [ 'plink_colors' => 'normal'],
        ),
        'pbgcolor' => array(
            'type' => 'color',
            'label' => __pl('bg_color'),
            'css' => ['{{element}} .documentor-btn[data-type="positive"]'=> 'background-color:{{val}}'],
            'show' => [ 'plink_colors' => 'normal'],
        ),
        'plink_hover_color' => array(
            'type' => 'color',	
            'label' => __pl('hover_color'),
            'css' => ['{{element}} .documentor-btn[data-type="positive"]:hover, .documentor-btn[data-type="positive"]:hover .badge' => 'color:{{val}}'],
            'show' => [ 'plink_colors' => 'hover'],
        ),
        'pbgcolor_hover' => array(
            'type' => 'color',
            'label' => __pl('bg_color'),
            'css' => ['{{element}} .documentor-btn[data-type="positive"]:hover'=> 'background-color:{{val}}'],
            'show' => [ 'plink_colors' => 'hover'],
        ),
        'ppadding' => array(
            'type' => 'padding',
            'label' => __pl('padding'),
            'screen' => 1,
            'css' => ['{{element}} .documentor-btn[data-type="positive"]' => 'padding-top: {{val[0]}}px !important; padding-right: {{val[1]}}px !important; padding-bottom: {{val[2]}}px !important; padding-left: {{val[3]}}px !important;'],
        ),
        'pmargin' => array(
            'type' => 'padding',
            'label' => __pl('margin'),
            'step' => 1,
            'max' => 60,
            'css' => ['{{element}} .documentor-btn[data-type="positive"] ' => 'margin-top: {{val[0]}}px !important; margin-right: {{val[1]}}px !important; margin-bottom: {{val[2]}}px !important; margin-left: {{val[3]}}px !important'],
        ),
    ),
    'n_styles' => array(
        'nlink_colors' => array(
            'type' => 'radio',	
            'label' => __pl('negative_btn_colors'),
            'list' => array(
                'normal' => __pl('normal'),
                'hover' => __pl('hover'),
            ),
        ),
        'nlink_color' => array(
            'type' => 'color',	
            'label' => __pl('color'),
            'css' => ['{{element}} .documentor-btn[data-type="negative"], .documentor-btn[data-type="negative"] .badge' => 'color:{{val}}'],
            'show' => [ 'nlink_colors' => 'normal'],
        ),
        'nbgcolor' => array(
            'type' => 'color',
            'label' => __pl('bg_color'),
            'css' => ['{{element}} .documentor-btn[data-type="negative"]'=> 'background-color:{{val}}'],
            'show' => [ 'nlink_colors' => 'normal'],
        ),
        'nlink_hover_color' => array(
            'type' => 'color',	
            'label' => __pl('hover_color'),
            'css' => ['{{element}} .documentor-btn[data-type="negative"]:hover, .documentor-btn[data-type="negative"]:hover .badge' => 'color:{{val}}'],
            'show' => [ 'nlink_colors' => 'hover'],
        ),
        'nbgcolor_hover' => array(
            'type' => 'color',
            'label' => __pl('bg_color'),
            'css' => ['{{element}} .documentor-btn[data-type="negative"]:hover'=> 'background-color:{{val}}'],
            'show' => [ 'nlink_colors' => 'hover'],
        ),
        'npadding' => array(
            'type' => 'padding',
            'label' => __pl('padding'),
            'screen' => 1,
            'css' => ['{{element}} .documentor-btn[data-type="negative"]' => 'padding-top: {{val[0]}}px !important; padding-right: {{val[1]}}px !important; padding-bottom: {{val[2]}}px !important; padding-left: {{val[3]}}px !important;'],
        ),
        'nmargin' => array(
            'type' => 'padding',
            'label' => __pl('margin'),
            'step' => 1,
            'max' => 60,
            'css' => ['{{element}} .documentor-btn[data-type="negative"] ' => 'margin-top: {{val[0]}}px !important; margin-right: {{val[1]}}px !important; margin-bottom: {{val[2]}}px !important; margin-left: {{val[3]}}px !important'],
        ),
    ),
    'styles' => array(
        'params' => __pl('feedback_settings'),
        'link_styles' => __pl('feedback_styles'),
        'p_styles' => __pl('positive_styles'),
        'n_styles' => __pl('negative_styles'),
    ),

));

//Feedback Suggestion
pagelayer_add_shortcode(PAGELAYER_SC_PREFIX.'_dm_article', array(
    'name' => __pl('documentor_article'),
    'group' => 'documentor',
    'html' => '<div class="documentor-article">
    <h3 if={{heading}}>{{heading}}<br></h3>
    <div class="documentor-single-articles">
    <ul>{{post_html}}</ul>
    </div>
    </div>',
    'params' => array(
        'heading' => array(
            'type' => 'text',
            'label' => __pl('heading'),
        ),
        'typo' => array(
            'type' => 'typography',
            'label' => __pl('typography'),
            'css' => ['{{element}} .documentor-single-articles, {{element}} h3'=> 'font-family: {{val[0]}}; font-size: {{val[1]}}px !important; font-style: {{val[2]}} !important; font-weight: {{val[3]}} !important; font-variant: {{val[4]}} !important; text-decoration-line: {{val[5]}} !important; text-decoration-style: {{val[6]}} !important; line-height: {{val[7]}}em !important; text-transform: {{val[8]}} !important; letter-spacing: {{val[9]}}px !important; word-spacing: {{val[10]}}px !important;'],
        ),
        'bgcolor' => array(
            'type' => 'color',
            'label' => __pl('bg_color'),
            'css' => ['{{element}} .documentor-single-articles'=> 'background-color:{{val}}'],
        ),
        'color' => array(
            'type' => 'color',
            'label' => __pl('color'),
            'css' => ['{{element}} .documentor-single-articles li  a, {{element}} h3'=> 'color:{{val}} !important'],
        ),
        'hvcolor' => array(
            'type' => 'color',
            'label' => __pl('hover_color'),
            'css' => ['{{element}} .documentor-single-articles a:hover'=> 'color:{{val}} !important'],
        ),
        'align' => array(
            'type' => 'select',
            'label' => __pl('align'),
            'css' => ['{{element}} h3'=> 'text-align:{{val}}'],
            'list' => array(
                '' => __pl('Left'),
                'center' => __pl('center'),
                'right' => __pl('right '),
            ),
        ),
        'box_shadow' => array(
            'type' => 'box_shadow',
            'label' => __pl('box_shadow'),
            'css' => ['{{element}} .documentor-single-articles li a' => 'box-shadow: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[4]}}px {{val[3]}} {{val[5]}} !important;'],
        ),
        'btn_bor_hover' => array(
            'type' => 'radio',
            'label' => __pl('state'),
            'list' => array(
                '' => __pl('normal'),
                'hover' => __pl('hover'),
            )
        ),	
        'btn_border_type' => array(
            'type' => 'select',
            'label' => __pl('border_type'),
            'css' => [
                '{{element}} .documentor-single-articles li  a' => 'border-style: {{val}} !important;',
                ],
            'list' => [
                '' => __pl('none'),
                'solid' => __pl('solid'),
                'double' => __pl('double'),
                'dotted' => __pl('dotted'),
                'dashed' => __pl('dashed'),
                'groove' => __pl('groove'),
            ],
            'show' => array(
                'btn_bor_hover' => ''
            ),
        ),
        'btn_border_color' => array(
            'type' => 'color',
            'label' => __pl('border_color_label'),
            'default' => '',
            'css' => ['{{element}} .documentor-single-articles li  a' => 'border-color: {{val}} !important;'],
            'req' => array(
                '!btn_border_type' => ''
            ),
            'show' => array(
                'btn_bor_hover' => ''
            ),
        ),
        'btn_border_width' => array(
            'type' => 'padding',
            'label' => __pl('border_width'),
            'screen' => 1,
            'css' => ['{{element}} .documentor-single-articles li  a' => 'border-top-width: {{val[0]}}px !important; border-right-width: {{val[1]}}px !important; border-bottom-width: {{val[2]}}px !important; border-left-width: {{val[3]}}px !important;'],
            'req' => [
                '!btn_border_type' => ''
            ],
            'show' => array(
                'btn_bor_hover' => ''
            ),
        ),
        'btn_border_radius' => array(
            'type' => 'padding',
            'label' => __pl('border_radius'),
            'screen' => 1,
            'css' => ['{{element}} .documentor-single-articles li  a' => 'border-radius: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px !important; -webkit-border-radius:  {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px !important;-moz-border-radius: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px !important;'],
            'show' => array(
                'btn_bor_hover' => '',
            ),
        ),
        'btn_border_type_hover' => array(
            'type' => 'select',
            'label' => __pl('border_type'),
            'css' => [
                '{{element}} .documentor-single-articles li  a:hover' => 'border-style: {{val}} !important;',	
            ],
            'list' => [
                '' => __pl('none'),
                'solid' => __pl('solid'),
                'double' => __pl('double'),
                'dotted' => __pl('dotted'),
                'dashed' => __pl('dashed'),
                'groove' => __pl('groove'),
            ],
            'show' => array(
                'btn_bor_hover' => 'hover'
            ),
        ),
        'btn_border_color_hover' => array(
            'type' => 'color',
            'label' => __pl('border_color_hover_label'),
            'default' => '',
            'css' => ['{{element}} .documentor-single-articles li  a:hover' => 'border-color: {{val}} !important;'],
            'req' => array(
                '!btn_border_type_hover' => ''
            ),
            'show' => array(
                'btn_bor_hover' => 'hover'
            ),
        ),
        'btn_border_width_hover' => array(
            'type' => 'padding',
            'label' => __pl('border_width_hover'),
            'screen' => 1,
            'css' => [
                '{{element}} .documentor-single-articles li  a:hover' => 'border-top-width: {{val[0]}}px !important; border-right-width: {{val[1]}}px !important; border-bottom-width: {{val[2]}}px !important; border-left-width: {{val[3]}}px !important;'
            ],
            'req' => [
                '!btn_border_type_hover' => ''
            ],
            'show' => array(
                'btn_bor_hover' => 'hover'
            ),
        ),
        'btn_border_radius_hover' => array(
            'type' => 'padding',
            'label' => __pl('border_radius_hover'),
            'screen' => 1,
            'css' => ['{{element}} .documentor-single-articles li  a:hover' => 'border-radius: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px !important; -webkit-border-radius:  {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px !important;-moz-border-radius: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px !important;'],
            'show' => array(
                'btn_bor_hover' => 'hover',	
            ),
        ),
    )

));

//Adjacent Links
pagelayer_add_shortcode(PAGELAYER_SC_PREFIX.'_dm_adjacent_links', array(
    'name' => __pl('documentor_adjacent_links'),
    'group' => 'documentor',
    'html' => '<div class="documentor-adjacent-links">{{post_html}}</div>',
    'params' => array(
        'typo' => array(
            'type' => 'typography',
            'label' => __pl('typography'),
            'css' => ['{{element}} .documentor-btn'=> 'font-family: {{val[0]}}; font-size: {{val[1]}}px !important; font-style: {{val[2]}} !important; font-weight: {{val[3]}} !important; font-variant: {{val[4]}} !important; text-decoration-line: {{val[5]}} !important; text-decoration-style: {{val[6]}} !important; line-height: {{val[7]}}em !important; text-transform: {{val[8]}} !important; letter-spacing: {{val[9]}}px !important; word-spacing: {{val[10]}}px !important;'],
        ),
        'link_colors' => array(
            'type' => 'radio',	
            'label' => __pl('colors'),
            'default' => 'normal',
            'list' => array(
                'normal' => __pl('normal'),
                'hover' => __pl('hover'),
            ),
        ),
        'bgcolor' => array(
            'type' => 'color',
            'label' => __pl('bg_color'),
            'css' => ['{{element}} .documentor-btn'=> 'background-color:{{val}}'],
            'show' => [ 'link_colors' => 'normal'],
        ),
        'color' => array(
            'type' => 'color',
            'label' => __pl('color'),
            'css' => ['{{element}} .documentor-btn'=> 'color:{{val}}'],
            'show' => [ 'link_colors' => 'normal'],
        ),
        'bgcolor_hover' => array(
            'type' => 'color',
            'label' => __pl('bg_color'),
            'css' => ['{{element}} .documentor-btn:hover'=> 'background-color:{{val}}'],
            'show' => [ 'link_colors' => 'hover'],
        ),
        'color_hover' => array(
            'type' => 'color',
            'label' => __pl('color'),
            'css' => ['{{element}} .documentor-btn:hover'=> 'color:{{val}}'],
            'show' => [ 'link_colors' => 'hover'],
        ),
        'link_rotate' => array(
			'type' => 'spinner',
			'label' => __pl('Rotate'),
            'addClass' => 'documentor_rotated_link',
			'min' => 0,
			'max' => 360,
			'step' => 1,
			'screen' => 1,
			'css' => ['{{element}}' => 'transform: rotate({{val}}deg)'],
		),
        'box_shadow' => array(
            'type' => 'box_shadow',
            'label' => __pl('box_shadow'),
            'css' => ['{{element}} .documentor-btn' => 'box-shadow: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[4]}}px {{val[3]}} {{val[5]}} !important;'],
        ),
        'btn_bor_hover' => array(
            'type' => 'radio',
            'label' => __pl('state'),
            'list' => array(
                '' => __pl('normal'),
                'hover' => __pl('hover'),
            )
        ),	
        'btn_border_type' => array(
            'type' => 'select',
            'label' => __pl('border_type'),
            'css' => [
                '{{element}} .documentor-btn' => 'border-style: {{val}};',
                ],
            'list' => [
                '' => __pl('none'),
                'solid' => __pl('solid'),
                'double' => __pl('double'),
                'dotted' => __pl('dotted'),
                'dashed' => __pl('dashed'),
                'groove' => __pl('groove'),
            ],
            'show' => array(
                'btn_bor_hover' => ''
            ),
        ),
        'btn_border_color' => array(
            'type' => 'color',
            'label' => __pl('border_color_label'),
            'default' => '',
            'css' => ['{{element}} .documentor-btn' => 'border-color: {{val}};'],
            'req' => array(
                '!btn_border_type' => ''
            ),
            'show' => array(
                'btn_bor_hover' => ''
            ),
        ),
        'btn_border_width' => array(
            'type' => 'padding',
            'label' => __pl('border_width'),
            'screen' => 1,
            'css' => ['{{element}} .documentor-btn' => 'border-top-width: {{val[0]}}px; border-right-width: {{val[1]}}px; border-bottom-width: {{val[2]}}px; border-left-width: {{val[3]}}px'],
            'req' => [
                '!btn_border_type' => ''
            ],
            'show' => array(
                'btn_bor_hover' => ''
            ),
        ),
        'btn_border_radius' => array(
            'type' => 'padding',
            'label' => __pl('border_radius'),
            'screen' => 1,
            'css' => ['{{element}} .documentor-btn' => 'border-radius: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px; -webkit-border-radius:  {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px;-moz-border-radius: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px;'],
            'show' => array(
                'btn_bor_hover' => '',
            ),
        ),
        'btn_border_type_hover' => array(
            'type' => 'select',
            'label' => __pl('border_type'),
            'css' => [
                '{{element}} .documentor-btn:hover' => 'border-style: {{val}}',	
            ],
            'list' => [
                '' => __pl('none'),
                'solid' => __pl('solid'),
                'double' => __pl('double'),
                'dotted' => __pl('dotted'),
                'dashed' => __pl('dashed'),
                'groove' => __pl('groove'),
            ],
            'show' => array(
                'btn_bor_hover' => 'hover'
            ),
        ),
        'btn_border_color_hover' => array(
            'type' => 'color',
            'label' => __pl('border_color_hover_label'),
            'default' => '',
            'css' => ['{{element}} .documentor-btn:hover' => 'border-color: {{val}};'],
            'req' => array(
                '!btn_border_type_hover' => ''
            ),
            'show' => array(
                'btn_bor_hover' => 'hover'
            ),
        ),
        'btn_border_width_hover' => array(
            'type' => 'padding',
            'label' => __pl('border_width_hover'),
            'screen' => 1,
            'css' => [
                '{{element}} .documentor-btn:hover' => 'border-top-width: {{val[0]}}px; border-right-width: {{val[1]}}px; border-bottom-width: {{val[2]}}px; border-left-width: {{val[3]}}px;'
            ],
            'req' => [
                '!btn_border_type_hover' => ''
            ],
            'show' => array(
                'btn_bor_hover' => 'hover'
            ),
        ),
        'btn_border_radius_hover' => array(
            'type' => 'padding',
            'label' => __pl('border_radius_hover'),
            'screen' => 1,
            'css' => ['{{element}} .documentor-btn:hover' => 'border-radius: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px; -webkit-border-radius:  {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px;-moz-border-radius: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px;'],
            'show' => array(
                'btn_bor_hover' => 'hover',	
            ),
        ),
    )

));

//Title
pagelayer_add_shortcode(PAGELAYER_SC_PREFIX.'_dm_title', array(
    'name' => __pl('documentor_title'),
    'group' => 'documentor',
    'html' => '<div class="documentor-title"><h1>{{title}}</h1></div>',
    'params' => array(
        'typo' => array(
            'type' => 'typography',
            'label' => __pl('typography'),
            'css' => ['{{element}} .documentor-title h1'=> 'font-family: {{val[0]}}; font-size: {{val[1]}}px !important; font-style: {{val[2]}} !important; font-weight: {{val[3]}} !important; font-variant: {{val[4]}} !important; text-decoration-line: {{val[5]}} !important; text-decoration-style: {{val[6]}} !important; line-height: {{val[7]}}em !important; text-transform: {{val[8]}} !important; letter-spacing: {{val[9]}}px !important; word-spacing: {{val[10]}}px !important;'],
        ),
        'bgcolor' => array(
            'type' => 'color',
            'label' => __pl('bg_color'),
            'css' => ['{{element}} .documentor-title h1'=> 'background-color:{{val}} !important;'],
        ),
        'color' => array(
            'type' => 'color',
            'label' => __pl('color'),
            'css' => ['{{element}} .documentor-title h1'=> 'color:{{val}} !important;'],
        ),
    )

));

// Archive Box
pagelayer_add_shortcode(PAGELAYER_SC_PREFIX.'_dm_archive_box', array(
    'name' => __pl('documentor_archive_box'),
    'group' => 'documentor',
    'html' => '<div class="documentor-archive-box documentor-archive"><ul class="documentor-archive-list">{{post_html}}</ul></div>',
    'params' => array(
        'show_articles' => array(
            'type' => 'checkbox',
            'label' => __pl('show_articles'),
            'default' => 'true',
        ),
        'articles_depth' => array(
            'type' => 'text',
            'label' => __pl('articles_depth'),
            'default' => '1',
            // 'desc' => 'Accepts -1 (any depth), 0 (all pages), 1 (top-level pages only), and n (pages to the given n depth)',
        ),
        'hide_count' => array(
            'type' => 'checkbox',
            'label' => __pl('hide_count'),
            'default' => 'true',
            'css' => ['{{element}} .documentor-nav-list sup' => 'display:none;'],
        ),
        'columns' => array(
            'type' => 'select',
            'label' => __pl('columns_count'),
            'default' => 3,
            'screen' => 1,
            'css' => ['{{element}} .documentor-archive-list' => 'display: grid; grid-template-columns: repeat({{val}},1fr);'],
            'list' => array(
                1 => __pl('1'),
                2 => __pl('2'),
                3 => __pl('3'),
                4 => __pl('4'),
                5 => __pl('5'),
                6 => __pl('6'),
                7=> __pl('7'),
                8 => __pl('8'),
                9 => __pl('9'),
                10 => __pl('10')
            )
        ),
        'col_gap' => array(
            'type' => 'slider',
            'label' => __pl('col_gap'),
            'min' => 0,
            'step' => 1,
            'max' => 100,
            'default' => 0,
            'screen' => 1,
            'css' => ['{{element}} .documentor-archive-list' => 'grid-column-gap: {{val}}px;'],
        ),
        'row_gap' => array(
            'type' => 'slider',
            'label' => __pl('row_gap'),
            'min' => 0,
            'step' => 1,
            'max' => 100,
            'default' => 0,
            'screen' => 1,
            'css' => ['{{element}} .documentor-archive-list' => 'grid-row-gap: {{val}}px;'],
        ),
    ),
    'box_style' => array(
        'box_bor_hover' => array(
            'type' => 'radio',
            'label' => __pl('state'),
            'list' => array(
                '' => __pl('normal'),
                'hover' => __pl('hover'),
            )
        ),
        'box_shadow' => array(
            'type' => 'box_shadow',
            'label' => __pl('box_shadow'),
            'css' => ['{{element}} .documentor-archive-list-item' => 'box-shadow: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[4]}}px {{val[3]}} {{val[5]}} !important;'],
            'show' => array(
                'box_bor_hover' => ''
            ),
        ),	
        'box_border_type' => array(
            'type' => 'select',
            'label' => __pl('border_type'),
            'css' => [
                '{{element}} .documentor-archive-list-item' => 'border-style: {{val}} !important;',
                ],
            'list' => [
                '' => __pl('none'),
                'solid' => __pl('solid'),
                'double' => __pl('double'),
                'dotted' => __pl('dotted'),
                'dashed' => __pl('dashed'),
                'groove' => __pl('groove'),
            ],
            'show' => array(
                'box_bor_hover' => ''
            ),
        ),
        'box_border_color' => array(
            'type' => 'color',
            'label' => __pl('border_color_label'),
            'default' => '',
            'css' => ['{{element}} .documentor-archive-list-item' => 'border-color: {{val}} !important;'],
            'req' => array(
                '!box_border_type' => ''
            ),
            'show' => array(
                'box_bor_hover' => ''
            ),
        ),
        'box_border_width' => array(
            'type' => 'padding',
            'label' => __pl('border_width'),
            'screen' => 1,
            'css' => ['{{element}} .documentor-archive-list-item' => 'border-top-width: {{val[0]}}px !important; border-right-width: {{val[1]}}px !important; border-bottom-width: {{val[2]}}px !important; border-left-width: {{val[3]}}px !important'],
            'req' => [
                '!box_border_type' => ''
            ],
            'show' => array(
                'box_bor_hover' => ''
            ),
        ),
        'box_border_radius' => array(
            'type' => 'padding',
            'label' => __pl('border_radius'),
            'screen' => 1,
            'css' => ['{{element}} .documentor-archive-list-item' => 'border-radius: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px; -webkit-border-radius:  {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px;-moz-border-radius: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px;'],
            'show' => array(
                'box_bor_hover' => '',
            ),
        ),
        'box_shadow_hover' => array(
            'type' => 'box_shadow',
            'label' => __pl('box_shadow'),
            'css' => ['{{element}} .documentor-archive-list-item:hover' => 'box-shadow: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[4]}}px {{val[3]}} {{val[5]}} !important;'],
            'show' => array(
                'box_bor_hover' => 'hover'
            ),
        ),
        'box_border_type_hover' => array(
            'type' => 'select',
            'label' => __pl('border_type'),
            'css' => [
                '{{element}} .documentor-archive-list-item:hover' => 'border-style: {{val}} !important',	
            ],
            'list' => [
                '' => __pl('none'),
                'solid' => __pl('solid'),
                'double' => __pl('double'),
                'dotted' => __pl('dotted'),
                'dashed' => __pl('dashed'),
                'groove' => __pl('groove'),
            ],
            'show' => array(
                'box_bor_hover' => 'hover'
            ),
        ),
        'box_border_color_hover' => array(
            'type' => 'color',
            'label' => __pl('border_color_hover_label'),
            'default' => '',
            'css' => ['{{element}} .documentor-archive-list-item:hover' => 'border-color: {{val}} !important;'],
            'req' => array(
                '!box_border_type_hover' => ''
            ),
            'show' => array(
                'box_bor_hover' => 'hover'
            ),
        ),
        'box_border_width_hover' => array(
            'type' => 'padding',
            'label' => __pl('border_width_hover'),
            'screen' => 1,
            'css' => [
                '{{element}} .documentor-archive-list-item:hover' => 'border-top-width: {{val[0]}}px !important; border-right-width: {{val[1]}}px !important; border-bottom-width: {{val[2]}}px !important; border-left-width: {{val[3]}}px !important;'
            ],
            'req' => [
                '!box_border_type_hover' => ''
            ],
            'show' => array(
                'box_bor_hover' => 'hover'
            ),
        ),
        'box_border_radius_hover' => array(
            'type' => 'padding',
            'label' => __pl('border_radius_hover'),
            'screen' => 1,
            'css' => ['{{element}} .documentor-archive-list-item:hover' => 'border-radius: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px; -webkit-border-radius:  {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px;-moz-border-radius: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px;'],
            'show' => array(
                'box_bor_hover' => 'hover',	
            ),
        ),
    ),
    'category_style' => array(
        'cat_typo' => array(
            'type' => 'typography',
            'label' => __pl('typography'),
            'css' => ['{{element}} .documentor-archive-list .documentor-archive-list-category'=> 'font-family: {{val[0]}}; font-size: {{val[1]}}px !important; font-style: {{val[2]}} !important; font-weight: {{val[3]}} !important; font-variant: {{val[4]}} !important; text-decoration-line: {{val[5]}} !important; text-decoration-style: {{val[6]}} !important; line-height: {{val[7]}}em !important; text-transform: {{val[8]}} !important; letter-spacing: {{val[9]}}px !important; word-spacing: {{val[10]}}px !important;'],
        ),
        'cat_color' => array(
            'type' => 'color',
            'label' => __pl('color'),
            'css' => ['{{element}} .documentor-archive-list .documentor-archive-list-category'=> 'color:{{val}}'],
        ),
        'cat_hover_color' => array(
            'type' => 'color',
            'label' => __pl('hover_color'),
            'css' => ['{{element}} .documentor-archive-list .documentor-archive-list-category:hover'=> 'color:{{val}}'],
        ),
    ),
    'heading_styles' => array(
        'typo' => array(
            'type' => 'typography',
            'label' => __pl('typography'),
            'css' => ['{{element}} .documentor-archive-list > .documentor-archive-list-item .documentor-archive-list-item-title > span h2,.documentor-archive-list > .documentor-archive-list-item .documentor-archive-list-item-title > span span'=> 'font-family: {{val[0]}}; font-size: {{val[1]}}px !important; font-style: {{val[2]}} !important; font-weight: {{val[3]}} !important; font-variant: {{val[4]}} !important; text-decoration-line: {{val[5]}} !important; text-decoration-style: {{val[6]}} !important; line-height: {{val[7]}}em !important; text-transform: {{val[8]}} !important; letter-spacing: {{val[9]}}px !important; word-spacing: {{val[10]}}px !important;'],
        ),
        'color' => array(
            'type' => 'color',
            'label' => __pl('color'),
            'css' => ['{{element}} .documentor-archive-list > .documentor-archive-list-item .documentor-archive-list-item-title > span h2'=> 'color:{{val}}'],
        ),
        'hover_color' => array(
            'type' => 'color',
            'label' => __pl('hover_color'),
            'css' => ['{{element}} .documentor-archive-list > .documentor-archive-list-item .documentor-archive-list-item-title:hover > span h2'=> 'color:{{val}}'],
        ),
        'countcolor' => array(
            'type' => 'color',
            'label' => __pl('count_color'),
            'css' => ['{{element}} .documentor-archive-list > .documentor-archive-list-item .documentor-archive-list-item-title > span span'=> 'color:{{val}}'],
        ),
        'hicon' => array(
            'type' => 'icon',
            'label' => __pl('icon'),
            'default' => 'fas fa-bars',
        ),
        'hicon_color' => array(
            'type' => 'color',
            'label' => __pl('color'),
            'css' => ['{{element}} .documentor-archive-list .documentor-archive-list-item-title i' => 'color:{{val}}'],
        ),
        'hicon_size' => array(
            'type' => 'slider',
            'label' => __pl('size'),
            'min' => 0,
            'max' => 100,
            'step' => 1,
            'screen' => 1,
            'css' => ['{{element}} .documentor-archive-list .documentor-archive-list-item-title  i' => 'font-size: {{val}}px;'],
        ),
        'hicon_space' => array(
            'type' => 'slider',
            'label' => __pl('icon_spacing'),
            'min' => 0,
            'max' => 100,
            'step' => 1,
            'screen' => 1,
            'css' => ['{{element}} .documentor-archive-list .documentor-archive-list-item-title i' => 'padding-right: {{val}}px;'],
        ),
        'hcount_space' => array(
            'type' => 'slider',
            'label' => __pl('count_spacing'),
            'min' => 0,
            'max' => 100,
            'step' => 1,
            'screen' => 1,
            'css' => ['{{element}} .documentor-archive-list > .documentor-archive-list-item .documentor-archive-list-item-title > span span' => 'padding-bottom: {{val}}px;'],
        ),
        'hpadding' => array(
            'type' => 'padding',
            'label' => __pl('padding'),
            'default' => '0,0,0,0',
            'screen' => 1,
            'css' => ['{{element}} .documentor-archive-list > .documentor-archive-list-item .documentor-archive-list-item-title > span' => 'padding-top: {{val[0]}}px !important; padding-right: {{val[1]}}px !important; padding-bottom: {{val[2]}}px !important; padding-left: {{val[3]}}px !important;'],
        ),
        'hmargin' => array(
            'type' => 'padding',
            'label' => __pl('margin'),
            'step' => 1,
            'max' => 60,
            'default' => '0,0,0,0',
            'css' => ['{{element}} .documentor-archive-list-item .documentor-archive-list-item-title > span ' => 'margin-top: {{val[0]}}px !important; margin-right: {{val[1]}}px !important; margin-bottom: {{val[2]}}px !important; margin-left: {{val[3]}}px !important'],
        ),

    ),
    'list_styles' => array(
        'ltypo' => array(
            'type' => 'typography',
            'label' => __pl('typography'),
            'css' => ['{{element}} .documentor-archive-list  .documentor-archive-list-item li a'=> 'font-family: {{val[0]}}; font-size: {{val[1]}}px !important; font-style: {{val[2]}} !important; font-weight: {{val[3]}} !important; font-variant: {{val[4]}} !important; text-decoration-line: {{val[5]}} !important; text-decoration-style: {{val[6]}} !important; line-height: {{val[7]}}em !important; text-transform: {{val[8]}} !important; letter-spacing: {{val[9]}}px !important; word-spacing: {{val[10]}}px !important;'],
        ),
        'list_style' => array(
            'type' => 'select',
            'label' => __pl('list_style'),
            'np' => 1,
            'default' => 'none',
            'list' => array(
                'none' => __pl('none'),
                'circle' => __pl('list_list_type_circle'),
                'decimal' => __pl('decimal'),
                'square' => __pl('list_list_type_square'),
                'disc' => __pl('list_list_type_disc'),
                'inherit' => __pl('inherit'),
                'upper-roman' => __pl('upper_roman'),
                'upper-alpha' => __pl('upper_alpha'),
                'lower-roman' => __pl('lower_roman'),
                'lower-alpha' => __pl('lower_alpha'),
                '' => __pl('custom'),
            ),
            'css' => ['{{element}} .documentor-archive-list .home_page_cats li' => 'list-style-type: {{val}};']
        ),
        'icon' => array(
            'type' => 'icon',
            'label' => __pl('icon'),
            'default' => 'fas fa-bars',
            'req' => ['list_style'=> ''],
        ),
        'icon_color' => array(
            'type' => 'color',
            'label' => __pl('icon_color'),
            'css' => ['{{element}} .documentor-archive-list .home_page_cats li a i' => 'color:{{val}}'],
            'req' => ['list_style'=> ''],
        ),
        'icon_size' => array(
            'type' => 'slider',
            'label' => __pl('size'),
            'min' => 0,
            'max' => 100,
            'step' => 1,
            'screen' => 1,
            'css' => ['{{element}} .documentor-archive-list .home_page_cats li a i' => 'font-size: {{val}}px;'],
            'req' => ['list_style'=> ''],
        ),
        'icon_space' => array(
            'type' => 'slider',
            'label' => __pl('icon_spacing'),
            'min' => 0,
            'max' => 100,
            'step' => 1,
            'screen' => 1,
            'css' => ['{{element}} .documentor-archive-list .home_page_cats li a i' => 'padding-right: {{val}}px;'],
            'req' => ['list_style'=> ''],
        ),
        'padding' => array(
            'type' => 'padding',
            'label' => __pl('padding'),
            'default' => '0,0,0,0',
            'screen' => 1,
            'css' => ['{{element}} .documentor-archive-list .home_page_cats li' => 'padding-top: {{val[0]}}px !important; padding-right: {{val[1]}}px !important; padding-bottom: {{val[2]}}px !important; padding-left: {{val[3]}}px !important;'],
        ),
        'margin' => array(
            'type' => 'padding',
            'label' => __pl('margin'),
            'step' => 1,
            'max' => 60,
            'default' => '0,0,0,0',
            'css' => ['{{element}} .documentor-archive-list .home_page_cats li' => 'margin-top: {{val[0]}}px !important; margin-right: {{val[1]}}px !important; margin-bottom: {{val[2]}}px !important; margin-left: {{val[3]}}px !important'],
        ),
        'link_colors' => array(
            'type' => 'radio',	
            'label' => __pl('colors'),
            'list' => array(
                'normal' => __pl('normal'),
                'hover' => __pl('hover'),
            ),
        ),
        'link_color' => array(
            'type' => 'color',	
            'label' => __pl('color'),
            'css' => ['{{element}} .documentor-archive-list .home_page_cats a' => 'color:{{val}}',
                     '.documentor-archive-list .home_page_cats a:before ' => 'background-color:{{val}}'],
            'show' => [ 'link_colors' => 'normal'],
        ),
        'bgcolor' => array(
            'type' => 'color',
            'label' => __pl('bg_color'),
            'css' => ['{{element}} .documentor-archive-list > .documentor-archive-list-item .home_page_cats a'=> 'background-color:{{val}}'],
            'show' => [ 'link_colors' => 'normal'],
        ),
        'link_hover_color' => array(
            'type' => 'color',	
            'label' => __pl('hover_color'),
            'css' => ['{{element}} .documentor-archive-list .home_page_cats a:hover' => 'color:{{val}}',
                     '.documentor-archive-list .home_page_cats a:hover:before ' => 'background-color:{{val}}'],
            'show' => [ 'link_colors' => 'hover'],
        ),
        'bgcolor_hover' => array(
            'type' => 'color',
            'label' => __pl('bg_color'),
            'css' => ['{{element}} .documentor-archive-list > .documentor-archive-list-item .home_page_cats a:hover'=> 'background-color:{{val}}'],
            'show' => [ 'link_colors' => 'hover'],
        ),
    ),
    'count_styles' => array(
        'ctypo' => array(
            'type' => 'typography',
            'label' => __pl('typography'),
            'css' => ['{{element}}  .documentor-archive-list .home_page_cats a sup'=> 'font-family: {{val[0]}}; font-size: {{val[1]}}px !important; font-style: {{val[2]}} !important; font-weight: {{val[3]}} !important; font-variant: {{val[4]}} !important; text-decoration-line: {{val[5]}} !important; text-decoration-style: {{val[6]}} !important; line-height: {{val[7]}}em !important; text-transform: {{val[8]}} !important; letter-spacing: {{val[9]}}px !important; word-spacing: {{val[10]}}px !important;'],
        ),
        'count_style_bg' => array(
            'type' => 'color',
            'label' => __pl('bg_color'),
            'css' => ['{{element}}  .documentor-archive-list .home_page_cats a sup' => 'background:{{val}}']
        ),
        'count_style_color' => array(
            'type' => 'color',
            'label' => __pl('color'),
            'css' => ['{{element}}  .documentor-archive-list .home_page_cats a sup' => 'color:{{val}}']
        ),
    ),
    'styles' => array(
        'params' => __pl('archive_box'),
        'box_style' => __pl('box_style'),
        'category_style' => __pl('category_styles'),
        'heading_styles' => __pl('heading_styles'),
        'list_styles' => __pl('list_styles'),
        'count_styles' => __pl('count_styles'),
    ),

));

//Search Box
pagelayer_add_shortcode(PAGELAYER_SC_PREFIX.'_dm_search_box', array(
    'name' => __pl('documentor_search'),
    'group' => 'documentor',
    'html' => '<div class="documentor-search-box documentor-archive">
    <div class="home_search" style="text-align:center;">
    <form role="search" method="get" class="documentor-search-form width_control" action="">
    <input type="search" class="documentor-search-field search_form_index" placeholder="'. esc_attr__( 'Type to search', 'documentor' ) .'" value="'. get_search_query() .'" name="s" autocomplete="off">
    <input type="hidden" name="post_type" value="docs">
    <div class="documentor-dual-ring"></div></form>
    <div class="documentor-search-form-result search_on_index"></div></div></div>',
    'params' => array(
        'typo' => array(
            'type' => 'typography',
            'label' => __pl('typography'),
            'css' => ['{{element}} .documentor-search-box .documentor-search-form'=> 'font-family: {{val[0]}}; font-size: {{val[1]}}px !important; font-style: {{val[2]}} !important; font-weight: {{val[3]}} !important; font-variant: {{val[4]}} !important; text-decoration-line: {{val[5]}} !important; text-decoration-style: {{val[6]}} !important; line-height: {{val[7]}}em !important; text-transform: {{val[8]}} !important; letter-spacing: {{val[9]}}px !important; word-spacing: {{val[10]}}px !important;'],
        ),
        'bgcolor' => array(
            'type' => 'color',
            'label' => __pl('bg_color'),
            'css' => ['{{element}} .documentor-search-box .documentor-search-form'=> 'background-color:{{val}}'],
        ),
        'color' => array(
            'type' => 'color',
            'label' => __pl('color'),
            'css' => ['{{element}} .documentor-search-box .documentor-search-form '=> 'color:{{val}}'],
        ),
        'width' => array(
            'type' => 'slider',
            'label' => __pl('width'),
            'units' => ['%', 'px'],
            'min' => 0,
            'screen' => 1,
            'css' => ['{{element}} .documentor-search-box .documentor-search-form' => 'width: {{val}} !important'],
        ),
        'height' => array(
            'type' => 'slider',
            'label' => __pl('height'),
            'units' => ['%', 'px'],
            'min' => 0,
            'screen' => 1,
            'css' => ['{{element}} .documentor-search-box .documentor-search-form' => 'height: {{val}} !important'],
        ),
        'padding' => array(
            'type' => 'padding',
            'label' => __pl('padding'),
            'default' => '0,0,0,0',
            'screen' => 1,
            'css' => ['{{element}} .documentor-search-box .documentor-search-form' => 'padding-top: {{val[0]}}px !important; padding-right: {{val[1]}}px !important; padding-bottom: {{val[2]}}px !important; padding-left: {{val[3]}}px !important;'],
        ),
        'margin' => array(
            'type' => 'padding',
            'label' => __pl('margin'),
            'step' => 1,
            'max' => 60,
            'default' => '0,0,0,0',
            'css' => ['{{element}} .documentor-search-box .documentor-search-form' => 'margin-top: {{val[0]}}px !important; margin-right: {{val[1]}}px !important; margin-bottom: {{val[2]}}px !important; margin-left: {{val[3]}}px !important'],
        ),
        'align' => array(
            'type' => 'select',
            'label' => __pl('align'),
            'css' => ['{{element}} .documentor-search-box .home_search'=> 'display:flex; flex-wrap: wrap; justify-content:{{val}};'],
            'list' => array(
                '' => __pl('Left'),
                'center' => __pl('center'),
                'right' => __pl('right '),
            ),
        ),
        'box_shadow' => array(
            'type' => 'box_shadow',
            'label' => __pl('box_shadow'),
            'css' => ['{{element}} .documentor-search-form' => 'box-shadow: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[4]}}px {{val[3]}} {{val[5]}} !important;'],
        ),
        'box_bor_hover' => array(
            'type' => 'radio',
            'label' => __pl('state'),
            'list' => array(
                '' => __pl('normal'),
                'hover' => __pl('hover'),
            )
        ),	
        'box_border_type' => array(
            'type' => 'select',
            'label' => __pl('border_type'),
            'css' => [
                '{{element}} .documentor-search-form' => 'border-style: {{val}} !important;',
                ],
            'list' => [
                '' => __pl('none'),
                'solid' => __pl('solid'),
                'double' => __pl('double'),
                'dotted' => __pl('dotted'),
                'dashed' => __pl('dashed'),
                'groove' => __pl('groove'),
            ],
            'show' => array(
                'box_bor_hover' => ''
            ),
        ),
        'box_border_color' => array(
            'type' => 'color',
            'label' => __pl('border_color_label'),
            'default' => '',
            'css' => ['{{element}} .documentor-search-form' => 'border-color: {{val}} !important;'],
            'req' => array(
                '!box_border_type' => ''
            ),
            'show' => array(
                'box_bor_hover' => ''
            ),
        ),
        'box_border_width' => array(
            'type' => 'padding',
            'label' => __pl('border_width'),
            'screen' => 1,
            'default' => '1,1,1,1',
            'css' => ['{{element}} .documentor-search-form' => 'border-top-width: {{val[0]}}px !important; border-right-width: {{val[1]}}px !important; border-bottom-width: {{val[2]}}px !important; border-left-width: {{val[3]}}px !important'],
            'req' => [
                '!box_border_type' => ''
            ],
            'show' => array(
                'box_bor_hover' => ''
            ),
        ),
        'box_border_radius' => array(
            'type' => 'padding',
            'label' => __pl('border_radius'),
            'screen' => 1,
            'css' => ['{{element}} .documentor-search-form' => 'border-radius: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px; -webkit-border-radius:  {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px;-moz-border-radius: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px;'],
            'show' => array(
                'box_bor_hover' => '',
            ),
        ),
        'box_border_type_hover' => array(
            'type' => 'select',
            'label' => __pl('border_type'),
            'css' => [
                '{{element}} .documentor-search-form:hover' => 'border-style: {{val}} !important',	
            ],
            'list' => [
                '' => __pl('none'),
                'solid' => __pl('solid'),
                'double' => __pl('double'),
                'dotted' => __pl('dotted'),
                'dashed' => __pl('dashed'),
                'groove' => __pl('groove'),
            ],
            'show' => array(
                'box_bor_hover' => 'hover'
            ),
        ),
        'box_border_color_hover' => array(
            'type' => 'color',
            'label' => __pl('border_color_hover_label'),
            'default' => '',
            'css' => ['{{element}} .documentor-search-form:hover' => 'border-color: {{val}} !important'],
            'req' => array(
                '!box_border_type_hover' => ''
            ),
            'show' => array(
                'box_bor_hover' => 'hover'
            ),
        ),
        'box_border_width_hover' => array(
            'type' => 'padding',
            'label' => __pl('border_width_hover'),
            'default' => '1,1,1,1',
            'screen' => 1,
            'css' => [
                '{{element}} .documentor-search-form:hover' => 'border-top-width: {{val[0]}}px !important; border-right-width: {{val[1]}}px !important; border-bottom-width: {{val[2]}}px !important; border-left-width: {{val[3]}}px !important;'
            ],
            'req' => [
                '!box_border_type_hover' => ''
            ],
            'show' => array(
                'box_bor_hover' => 'hover'
            ),
        ),
        'box_border_radius_hover' => array(
            'type' => 'padding',
            'label' => __pl('border_radius_hover'),
            'screen' => 1,
            'css' => ['{{element}} .documentor-search-form:hover' => 'border-radius: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px; -webkit-border-radius:  {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px;-moz-border-radius: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px;'],
            'show' => array(
                'box_bor_hover' => 'hover',	
            ),
        ),
    ),
    'result_styles' => array(
        'search_bgcolor' => array(
            'type' => 'color',
            'label' => __pl('bg_color'),
            'css' => ['{{element}} .documentor-search-list'=> 'background-color:{{val}}'],
        ),
        'link_colors' => array(
            'type' => 'radio',	
            'label' => __pl('colors'),
            'list' => array(
                'normal' => __pl('normal'),
                'hover' => __pl('hover'),
            ),
        ),
        'link_color' => array(
            'type' => 'color',	
            'label' => __pl('color'),
            'css' => ['{{element}} .documentor-search-list li,.documentor-search-list li a' => 'color:{{val}}'],
            'show' => [ 'link_colors' => 'normal'],
        ),
        'link_mark_color' => array(
            'type' => 'color',	
            'label' => __pl('mark_color'),
            'css' => ['{{element}} .documentor-search-form-result mark' => 'color:{{val}}'],
            'show' => [ 'link_colors' => 'normal'],
        ),
        'link_bgcolor' => array(
            'type' => 'color',	
            'label' => __pl('bg_color'),
            'css' => ['{{element}} .documentor-search-list li,.documentor-search-list li a' => 'background-color:{{val}}'],
            'show' => [ 'link_colors' => 'normal'],
        ),
        'link_hover_color' => array(
            'type' => 'color',	
            'label' => __pl('color'),
            'css' => ['{{element}} .documentor-search-list li:hover, .documentor-search-form-result .documentor-search-list-item > a:hover' => 'color:{{val}}'],
            'show' => [ 'link_colors' => 'hover'],
        ),
        'link_hover_mark_color' => array(
            'type' => 'color',	
            'label' => __pl('mark_color'),
            'css' => ['{{element}} .documentor-search-form-result .documentor-search-list-item > a:hover mark' => 'color:{{val}}'],
            'show' => [ 'link_colors' => 'hover'],
        ),
        'link_hover_bgcolor' => array(
            'type' => 'color',	
            'label' => __pl('bgcolor'),
            'css' => ['{{element}} .documentor-search-list li:hover,.documentor-search-list li a:hover' => 'background-color:{{val}}'],
            'show' => [ 'link_colors' => 'hover'],
        ),
        'rbox_shadow' => array(
            'type' => 'box_shadow',
            'label' => __pl('box_shadow'),
            'css' => ['{{element}} .documentor-search-form-result ul' => 'box-shadow: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[4]}}px {{val[3]}} {{val[5]}} !important;'],
        ),
        'rbox_bor_hover' => array(
            'type' => 'radio',
            'label' => __pl('state'),
            'list' => array(
                '' => __pl('normal'),
                'hover' => __pl('hover'),
            )
        ),	
        'rbox_border_type' => array(
            'type' => 'select',
            'label' => __pl('border_type'),
            'css' => [
                '{{element}} .documentor-search-form-result ul' => 'border-style: {{val}} !important;',
                ],
            'list' => [
                '' => __pl('none'),
                'solid' => __pl('solid'),
                'double' => __pl('double'),
                'dotted' => __pl('dotted'),
                'dashed' => __pl('dashed'),
                'groove' => __pl('groove'),
            ],
            'show' => array(
                'rbox_bor_hover' => ''
            ),
        ),
        'rbox_border_color' => array(
            'type' => 'color',
            'label' => __pl('border_color_label'),
            'default' => '',
            'css' => ['{{element}} .documentor-search-form-result ul' => 'border-color: {{val}} !important;'],
            'req' => array(
                '!rbox_border_type' => ''
            ),
            'show' => array(
                'rbox_bor_hover' => ''
            ),
        ),
        'rbox_border_width' => array(
            'type' => 'padding',
            'label' => __pl('border_width'),
            'screen' => 1,
            'css' => ['{{element}} .documentor-search-form-result ul' => 'border-top-width: {{val[0]}}px !important; border-right-width: {{val[1]}}px !important; border-bottom-width: {{val[2]}}px !important; border-left-width: {{val[3]}}px !important'],
            'req' => [
                '!rbox_border_type' => ''
            ],
            'show' => array(
                'rbox_bor_hover' => ''
            ),
        ),
        'rbox_border_radius' => array(
            'type' => 'padding',
            'label' => __pl('border_radius'),
            'screen' => 1,
            'css' => ['{{element}} .documentor-search-form-result ul' => 'border-radius: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px; -webkit-border-radius:  {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px;-moz-border-radius: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px;'],
            'show' => array(
                'rbox_bor_hover' => '',
            ),
        ),
        'rbox_border_type_hover' => array(
            'type' => 'select',
            'label' => __pl('border_type'),
            'css' => [
                '{{element}} .documentor-search-form-result ul:hover' => 'border-style: {{val}} !important',	
            ],
            'list' => [
                '' => __pl('none'),
                'solid' => __pl('solid'),
                'double' => __pl('double'),
                'dotted' => __pl('dotted'),
                'dashed' => __pl('dashed'),
                'groove' => __pl('groove'),
            ],
            'show' => array(
                'rbox_bor_hover' => 'hover'
            ),
        ),
        'rbox_border_color_hover' => array(
            'type' => 'color',
            'label' => __pl('border_color_hover_label'),
            'default' => '',
            'css' => ['{{element}} .documentor-search-form-result ul:hover' => 'border-color: {{val}} !important'],
            'req' => array(
                '!rbox_border_type_hover' => ''
            ),
            'show' => array(
                'rbox_bor_hover' => 'hover'
            ),
        ),
        'rbox_border_width_hover' => array(
            'type' => 'padding',
            'label' => __pl('border_width_hover'),
            'screen' => 1,
            'css' => [
                '{{element}} .documentor-search-form-result ul:hover' => 'border-top-width: {{val[0]}}px !important; border-right-width: {{val[1]}}px !important; border-bottom-width: {{val[2]}}px !important; border-left-width: {{val[3]}}px !important;'
            ],
            'req' => [
                '!rbox_border_type_hover' => ''
            ],
            'show' => array(
                'rbox_bor_hover' => 'hover'
            ),
        ),
        'rbox_border_radius_hover' => array(
            'type' => 'padding',
            'label' => __pl('border_radius_hover'),
            'screen' => 1,
            'css' => ['{{element}} .documentor-search-form-result ul:hover' => 'border-radius: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px; -webkit-border-radius:  {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px;-moz-border-radius: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px;'],
            'show' => array(
                'rbox_bor_hover' => 'hover',	
            ),
        ),
    ),
    'styles' => array(
        'params' => __pl('settings'),
        'result_styles' => __pl('result_style'),
    ),

));

//Table Content
pagelayer_add_shortcode(PAGELAYER_SC_PREFIX.'_dm_table_content', array(
    'name' => __pl('documentor_table_content'),
    'group' => 'documentor',
    'html' => '<div class="documentor-table-content" title="{{title}}" toggle_child={{toggle_child}}></div>
    <div if={{toggle_icon}} class="toggle_icon_button"><i class="{{icon}} fa-2x"></i></div>',
    'params' => array(
        'title' => array(
            'type' => 'text',
            'label' => __pl('heading'),
        ),
        'toggle_child' => array(
            'type' => 'checkbox',
            'label' => __pl('toggle_child'),
            'addClass' => ['{{element}} .documentor-table-content' => 'documentor_toggle']
        ),
        'toggle_icon' => array(
            'type' => 'checkbox',
            'label' => __pl('toggle_icon'),
            'addClass' => ['{{element}} .documentor-table-content' => 'toggle_icon toggle_icon_toggles']
        ),
        'bottom_align' => array(
            'type' => 'slider',
            'label' => __pl('bottom_align'),
            'default' => 0,
            'screen' => 1,
            'css' => ['{{element}} .toggle_icon_button' => 'bottom:{{val}}px;',
            '{{element}} .documentor-table-content.toggle_icon' => 'bottom:calc({{icon_btnsize}}px + 20px + {{val}}px);'],
            'req' => ['!toggle_icon' => '']
        ),
        'right_align' => array(
            'type' => 'slider',
            'label' => __pl('right_align'),
            'default' => 10,
            'screen' => 1,
            'css' => ['{{element}} .toggle_icon_button' => 'right:{{val}}px;',
            '{{element}} .documentor-table-content.toggle_icon' => 'right:calc({{val}}px + 20px);'],
            'req' => ['!toggle_icon' => '']
        ),
        'typo' => array(
            'type' => 'typography',
            'label' => __pl('typography'),
            'css' => ['{{element}} .documentor-table-content, .documentor-table-content h3'=> 'font-family: {{val[0]}} !important; font-size: {{val[1]}}px !important; font-style: {{val[2]}} !important; font-weight: {{val[3]}} !important; font-variant: {{val[4]}} !important; text-decoration-line: {{val[5]}} !important; text-decoration-style: {{val[6]}} !important; line-height: {{val[7]}}em !important; text-transform: {{val[8]}} !important; letter-spacing: {{val[9]}}px !important; word-spacing: {{val[10]}}px !important;'],
        ),
        'color' => array(
            'type' => 'color',
            'label' => __pl('color'),
            'css' => ['{{element}} .documentor-table-content h3'=> 'color:{{val}}'],
        ),
        'bgcolor' => array(
            'type' => 'color',
            'label' => __pl('bg_color'),
            'css' => ['{{element}} .documentor-table-content'=> 'background-color:{{val}}'],
        ),
        'list_style' => array(
            'type' => 'select',
            'label' => __pl('list_style'),
            'np' => 1,
            'default' => 'none',
            'list' => array(
                'none' => __pl('none'),
                'circle' => __pl('list_list_type_circle'),
                'decimal' => __pl('decimal'),
                'square' => __pl('list_list_type_square'),
                'disc' => __pl('list_list_type_disc'),
                'inherit' => __pl('inherit'),
                'upper-roman' => __pl('upper_roman'),
                'upper-alpha' => __pl('upper_alpha'),
                'lower-roman' => __pl('lower_roman'),
                'lower-alpha' => __pl('lower_alpha'),
            ),
            'css' => ['{{element}} .documentor-table-content li' => 'list-style-type: {{val}};']
        ),
        'link_colors' => array(
            'type' => 'radio',	
            'label' => __pl('colors'),
            'list' => array(
                'normal' => __pl('normal'),
                'hover' => __pl('hover'),
                'active' => __pl('active'),
            ),
        ),
        'link_color' => array(
            'type' => 'color',	
            'label' => __pl('color'),
            'css' => ['{{element}} .documentor-table-content li a, .documentor-table-content li' => 'color:{{val}}'],
            'show' => [ 'link_colors' => 'normal'],
        ),
        'link_hover_color' => array(
            'type' => 'color',	
            'label' => __pl('current_color'),
            'css' => ['{{element}} .documentor-table-content li:hover>a, .documentor-table-content li:hover' => 'color:{{val}}'],
            'show' => [ 'link_colors' => 'hover'],
        ),
        'link_current_color' => array(
            'type' => 'color',	
            'label' => __pl('current_color'),
            'css' => ['{{element}} .documentor-table-content li.active > a, .documentor-table-content li.active' => 'color:{{val}}'],
            'show' => [ 'link_colors' => 'active']
        ),
        'box_shadow' => array(
            'type' => 'box_shadow',
            'label' => __pl('box_shadow'),
            'css' => ['{{element}} .documentor-table-content' => 'box-shadow: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[4]}}px {{val[3]}} {{val[5]}} !important;'],
        ),
        'box_bor_hover' => array(
            'type' => 'radio',
            'label' => __pl('state'),
            'list' => array(
                '' => __pl('normal'),
                'hover' => __pl('hover'),
            )
        ),	
        'box_border_type' => array(
            'type' => 'select',
            'label' => __pl('border_type'),
            'css' => [
                '{{element}} .documentor-table-content' => 'border-style: {{val}} !important;',
                ],
            'list' => [
                '' => __pl('none'),
                'solid' => __pl('solid'),
                'double' => __pl('double'),
                'dotted' => __pl('dotted'),
                'dashed' => __pl('dashed'),
                'groove' => __pl('groove'),
            ],
            'show' => array(
                'box_bor_hover' => ''
            ),
        ),
        'box_border_color' => array(
            'type' => 'color',
            'label' => __pl('border_color_label'),
            'default' => '',
            'css' => ['{{element}} .documentor-table-content' => 'border-color: {{val}} !important;'],
            'req' => array(
                '!box_border_type' => ''
            ),
            'show' => array(
                'box_bor_hover' => ''
            ),
        ),
        'box_border_width' => array(
            'type' => 'padding',
            'label' => __pl('border_width'),
            'screen' => 1,
            'css' => ['{{element}} .documentor-table-content' => 'border-top-width: {{val[0]}}px !important; border-right-width: {{val[1]}}px !important; border-bottom-width: {{val[2]}}px !important; border-left-width: {{val[3]}}px !important'],
            'req' => [
                '!box_border_type' => ''
            ],
            'show' => array(
                'box_bor_hover' => ''
            ),
        ),
        'box_border_radius' => array(
            'type' => 'padding',
            'label' => __pl('border_radius'),
            'screen' => 1,
            'css' => ['{{element}} .documentor-table-content' => 'border-radius: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px; -webkit-border-radius:  {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px;-moz-border-radius: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px;'],
            'show' => array(
                'box_bor_hover' => '',
            ),
        ),
        'box_border_type_hover' => array(
            'type' => 'select',
            'label' => __pl('border_type'),
            'css' => [
                '{{element}} .documentor-table-content:hover' => 'border-style: {{val}} !important',	
            ],
            'list' => [
                '' => __pl('none'),
                'solid' => __pl('solid'),
                'double' => __pl('double'),
                'dotted' => __pl('dotted'),
                'dashed' => __pl('dashed'),
                'groove' => __pl('groove'),
            ],
            'show' => array(
                'box_bor_hover' => 'hover'
            ),
        ),
        'box_border_color_hover' => array(
            'type' => 'color',
            'label' => __pl('border_color_hover_label'),
            'default' => '',
            'css' => ['{{element}} .documentor-table-content:hover' => 'border-color: {{val}} !important'],
            'req' => array(
                '!box_border_type_hover' => ''
            ),
            'show' => array(
                'box_bor_hover' => 'hover'
            ),
        ),
        'box_border_width_hover' => array(
            'type' => 'padding',
            'label' => __pl('border_width_hover'),
            'screen' => 1,
            'css' => [
                '{{element}} .documentor-table-content:hover' => 'border-top-width: {{val[0]}}px !important; border-right-width: {{val[1]}}px !important; border-bottom-width: {{val[2]}}px !important; border-left-width: {{val[3]}}px !important;'
            ],
            'req' => [
                '!box_border_type_hover' => ''
            ],
            'show' => array(
                'box_bor_hover' => 'hover'
            ),
        ),
        'box_border_radius_hover' => array(
            'type' => 'padding',
            'label' => __pl('border_radius_hover'),
            'screen' => 1,
            'css' => ['{{element}} .documentor-table-content:hover' => 'border-radius: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px; -webkit-border-radius:  {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px;-moz-border-radius: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px;'],
            'show' => array(
                'box_bor_hover' => 'hover',	
            ),
        ),
    ),
    'icon_style' =>[
        'icon' => array(
            'type' => 'icon',
            'label' => __pl('icon'),
            'default' => 'fas fa-bars'
        ),
        'icon_color' => array(
            'type' => 'color',
            'label' => __pl('color'),
            'css' => ['{{element}} .toggle_icon_button i' => 'color:{{val}}'],
        ),
        'icon_bgcolor' => array(
            'type' => 'color',
            'label' => __pl('bg_color'),
            'css' => ['{{element}} .toggle_icon_button' => 'background-color:{{val}}'],
        ),
        'icon_size' => array(
            'type' => 'slider',
            'label' => __pl('size'),
            'min' => 0,
            'max' => 100,
            'step' => 1,
            'screen' => 1,
            'css' => ['{{element}} .toggle_icon_button i' => 'font-size: {{val}}px;']
        ),
        'icon_btnsize' => array(
            'type' => 'slider',
            'label' => __pl('btn_size'),
            'min' => 0,
            'max' => 100,
            'step' => 1,
            'screen' => 1,
            'css' => ['{{element}} .toggle_icon_button ' => 'height: {{val}}px; width: {{valb}}px']
        ),
    ],
    'styles' => [
        'icon_style' => __pl('icon_style')
    ]


));

// Code
pagelayer_add_shortcode(PAGELAYER_SC_PREFIX.'_dm_code', array(
    'name' => __pl('code'),
    'group' => 'documentor',
    'innerHTML' => 'text',
    'html' => '<div class="documentor-code-holder"><pre><code>{{code}}</code></pre><i class="far fa-copy" label="copy code snippet"></i></div>',
    'params' => array(
        'code' => array(
            'type' => 'code',
            'label' => __pl('edit_code'),
            'default' => 'Enter the code here....',
            'rows' => '15',
            'desc' => __pl('write the code you want to show'),
            //'edit' => '.documentor-code-holder pre code'
        )
    ),
    'box_style' => array(
        'theme' => array(
            'type' => 'select',
            'label' => __pl('highlight_theme'),
            'addClass' =>  'documentor-hljs-{{val}}',
            'list' => array(
                '' => __pl('default'),
                'dark' => __pl('Dark'),
                'light' => __pl('Light'),
                'xt256'	=> __pl('XT256')
            ),
        ),
        'typo' => array(
            'type' => 'typography',
            'label' => __pl('typography'),
            'css' => ['{{element}} code'=> 'font-family: {{val[0]}}; font-size: {{val[1]}}px !important; font-style: {{val[2]}} !important; font-weight: {{val[3]}} !important; font-variant: {{val[4]}} !important; text-decoration-line: {{val[5]}} !important; text-decoration-style: {{val[6]}} !important; line-height: {{val[7]}}em !important; text-transform: {{val[8]}} !important; letter-spacing: {{val[9]}}px !important; word-spacing: {{val[10]}}px !important;'],
        ),
        'box_shadow' => array(
            'type' => 'box_shadow',
            'label' => __pl('box_shadow'),
            'css' => ['{{element}} .documentor-code-holder pre code' => 'box-shadow: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[4]}}px {{val[3]}} {{val[5]}} !important;'],
        ),
        'code_bor_hover' => array(
            'type' => 'radio',
            'label' => __pl('state'),
            'list' => array(
                '' => __pl('normal'),
                'hover' => __pl('hover'),
            )
        ),	
        'code_border_type' => array(
            'type' => 'select',
            'label' => __pl('border_type'),
            'css' => [
                '{{element}} .documentor-code-holder pre code' => 'border-style: {{val}};',
                ],
            'list' => [
                '' => __pl('none'),
                'solid' => __pl('solid'),
                'double' => __pl('double'),
                'dotted' => __pl('dotted'),
                'dashed' => __pl('dashed'),
                'groove' => __pl('groove'),
            ],
            'show' => array(
                'code_bor_hover' => ''
            ),
        ),
        'code_border_color' => array(
            'type' => 'color',
            'label' => __pl('border_color_label'),
            'default' => '',
            'css' => ['{{element}} .documentor-code-holder pre code' => 'border-color: {{val}};'],
            'req' => array(
                '!code_border_type' => ''
            ),
            'show' => array(
                'code_bor_hover' => ''
            ),
        ),
        'code_border_width' => array(
            'type' => 'padding',
            'label' => __pl('border_width'),
            'screen' => 1,
            'css' => ['{{element}} .documentor-code-holder pre code' => 'border-top-width: {{val[0]}}px; border-right-width: {{val[1]}}px; border-bottom-width: {{val[2]}}px; border-left-width: {{val[3]}}px'],
            'req' => [
                '!code_border_type' => ''
            ],
            'show' => array(
                'code_bor_hover' => ''
            ),
        ),
        'code_border_radius' => array(
            'type' => 'padding',
            'label' => __pl('border_radius'),
            'screen' => 1,
            'css' => ['{{element}} .documentor-code-holder pre code' => 'border-radius: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px; -webkit-border-radius:  {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px;-moz-border-radius: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px;'],
            'req' => array(
                '!code_border_type' => '',
            ),
            'show' => array(
                'code_bor_hover' => '',
            ),
        ),
        'code_border_type_hover' => array(
            'type' => 'select',
            'label' => __pl('border_type'),
            'css' => [
                '{{element}} .documentor-code-holder pre code:hover' => 'border-style: {{val}}',	
            ],
            'list' => [
                '' => __pl('none'),
                'solid' => __pl('solid'),
                'double' => __pl('double'),
                'dotted' => __pl('dotted'),
                'dashed' => __pl('dashed'),
                'groove' => __pl('groove'),
            ],
            'show' => array(
                'code_bor_hover' => 'hover'
            ),
        ),
        'code_border_color_hover' => array(
            'type' => 'color',
            'label' => __pl('border_color_hover_label'),
            'default' => '',
            'css' => ['{{element}} .documentor-code-holder pre code:hover' => 'border-color: {{val}};'],
            'req' => array(
                '!code_border_type_hover' => ''
            ),
            'show' => array(
                'code_bor_hover' => 'hover'
            ),
        ),
        'code_border_width_hover' => array(
            'type' => 'padding',
            'label' => __pl('border_width_hover'),
            'screen' => 1,
            'css' => [
                '{{element}} .documentor-code-holder pre code:hover' => 'border-top-width: {{val[0]}}px; border-right-width: {{val[1]}}px; border-bottom-width: {{val[2]}}px; border-left-width: {{val[3]}}px;'
            ],
            'req' => [
                '!code_border_type_hover' => ''
            ],
            'show' => array(
                'code_bor_hover' => 'hover'
            ),
        ),
        'code_border_radius_hover' => array(
            'type' => 'padding',
            'label' => __pl('border_radius_hover'),
            'screen' => 1,
            'css' => ['{{element}} .documentor-code-holder pre code:hover' => 'border-radius: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px; -webkit-border-radius:  {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px;-moz-border-radius: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[3]}}px;'],
            'req' => array(
                '!code_border_type_hover' => '',
            ),
            'show' => array(
                'code_bor_hover' => 'hover',	
            ),
        ),
    ),
    'tooltip_style' => array(
        'hide_copy' => array(
            'type' => 'checkbox',
            'label' => __pl('hide_copy'),
            'default' => 'true',
            'css' => ['{{element}} .fa-copy' => 'display:none;'],
        ),
        'hide_tooltip' => array(
            'type' => 'checkbox',
            'label' => __pl('hide_tooltip'),
            'default' => 'true',
            'css' => ['{{element}} .fa-copy:hover::after' => 'display:none;'],
            'req' => ['hide_copy' => ''],
        ),
        'talign' => array(
            'type' => 'dimension',
            'label' => __pl('align'),
            'css' => ['{{element}} .fa-copy:hover::after'=> 'transform:translate(calc(-90% + {{val[0]}}px), {{val[1]}}px)'],
            'req' => ['hide_tooltip' => '','hide_copy' => ''],
        ),
        'ttypo' => array(
            'type' => 'typography',
            'label' => __pl('typography'),
            'css' => ['{{element}} i::after'=> 'font-family: {{val[0]}}; font-size: {{val[1]}}px !important; font-style: {{val[2]}} !important; font-weight: {{val[3]}} !important; font-variant: {{val[4]}} !important; text-decoration-line: {{val[5]}} !important; text-decoration-style: {{val[6]}} !important; line-height: {{val[7]}}em !important; text-transform: {{val[8]}} !important; letter-spacing: {{val[9]}}px !important; word-spacing: {{val[10]}}px !important;'],
            'req' => ['hide_tooltip' => '','hide_copy' => ''],
        ),
        'tbox_shadow' => array(
            'type' => 'box_shadow',
            'label' => __pl('box_shadow'),
            'css' => ['{{element}}  i::after' => 'box-shadow: {{val[0]}}px {{val[1]}}px {{val[2]}}px {{val[4]}}px {{val[3]}} {{val[5]}} !important;'],
            'req' => ['hide_tooltip' => '','hide_copy' => ''],
        ),
        'tcolor' => array(
            'type' => 'color',
            'label' => __pl('color'),
            'css' => ['{{element}} i::after'=> 'color:{{val}}'],
            'req' => ['hide_tooltip' => '','hide_copy' => ''],
        ),
        'tbgcolor' => array(
            'type' => 'color',
            'label' => __pl('bg_color'),
            'css' => ['{{element}} i::after'=> 'background-color:{{val}}'],
            'req' => ['hide_tooltip' => '','hide_copy' => ''],
        ),
    ),
    'styles' => array(
        'params' => __pl('code'),
        'box_style' => __pl('Style'),
        'tooltip_style' => __pl('tooltip_style'),
    )
));

Youez - 2016 - github.com/yon3zu
LinuXploit