[blp id="display-image-meta-at-blp-topics-php" function='diy_include' ignore="0"]
{args}
$include='system/display-meta.php';
// use this special include reference whenever you want to display some sort of a meta.
$data='term-meta::term-image'; // note that "wpcf-" prefix is not needed.
// syntax: meta-context :: key-in-that-context MAKE SURE YOU SEPERATE YOUR CONTEXT FROM KEY WITH ::
// available contexts:
// term-meta, custom-field-meta, and cell-meta.
// ONLY TERM-META HAS BEEN IMPLEMENTED! I will do the remaining 2 later, so this same shortcode can also work with custom-fields.
// cell-meta would work with $blp_cell_cell_vals array set by the cell_part_1.php, Any key within that array can be pulled in here. Add ?debug_cell=1 to URL to to see the full key list.
// valid examples:
// $data='term-meta::term-image';
// $data='custom-field-meta::thumbnail';
// $data='cell-meta::the_view_time';
$template='
';
// this is your output. the __DATA__ is replaced with the actual value, returned for $data
// if __DATA__ is empty, then this shortcode completely collapses with 0 traceable output.
// note that you can also use the familiar $wrap variables to fuerther wrap the output of the template
$wrap='1';
$wrap_style='padding-bottom:5px;padding-top:1px;';
$container='0';
{/args}
[/blp]
[blp id="display-meta-definition-at-blp-topics-php" function='diy_include' ignore="0"]
{args}
$include='system/display-meta.php';
$data='term-meta::term-definition';
//$data='term-meta::term-definition::process_convert_carriage_returns_to_P_tags()';
// $template='
[blp id="display-meta-term-includeat-blp-topics-php" function='diy_include' ignore="0"]
{args}
$include='system/display-meta.php';
$data='term-meta::term-related-facets::process_related_facets()'; // see the last arg in the chain. That's a function in display-meta.php which does the inclusion of the mentioned facets in terms of cell_rows UI
$template='__DATA__';
{/args}
[/blp]
[blp id="display-meta-quran-at-blp-topics-php" function='diy_include' ignore="0"]
{args}
$include='system/display-meta.php';
$data='term-meta::term-quran';
$template='
';
$wrap='1';
$container='1';
$wrap_style='padding-top:25px;padding-bottom:25px;background-color:transparent';
{/args}
[/blp]
[blp id="most-recent" base="query-wordpress-FILTER.txt" ignore="0"]
{args}
$shortcode_location='_blp_taxonomy_archives.php'; // this is a must if you want paging! You've gots to match to the file name exactly!
$title='MOST RECENT~~Live Tv'; // title is handled by functions.php's blp_get_archive_page_title AND blp_wrap functions paying attention to the blp_is_paging situaion. Title is a double value variable with the ~~. Note that this title is also used in the [more ] links. so functions.php's blp_display_more_link also taps into this value.
$cell_cell='cell-cell-owl.php';
$more_href=''; #/Ex: /prayerTimes
$filters='category.audio{Audio},category.articles{Articles},category.audio{Audio},category.videos{Videos}';
$unwanted_terms='{uncategorized}{africa}{americas}{asia}{australia}{europe}{middle-east}'; // if any of these slugs make it to the sidebar, they vanish.
$sidebar_taxonomies='post_tag,values';
// these vars like filters, topbar_taxonomies, showsotyby applies only to the immediate output NOT to the paging cell-filter, paging cell-filter vars are hardcoded in the cell-paging-filte.php and the same for all paging archives - if top bar tax, it is smart to notto scroll the page
$scroll_up='0~~1';
// WATCH! this is a double value variable one for the immediatee operation and one for the paging state. When not paging, blp uses the left of the ~~. and when paging, the right of it. if it des not happen to have a ~~ in it, it means both states use the same value. 1 is the same as 1~~1. The default value is 1~~1. first implementation was by the cell_filter. when it is used on the home page, we use it as 0~~1 . 0 allows the home page to not have the scroll up effect while the subsequent ( paging ) operations which is triggered first by the "more" and then the "[next] links, use its value 1 part of it to apply the scroll up event. When scrroll up is 1, clicking on the filter list items cause the page to scroll up.
// clicking on filter-items causes the browser to scroll up - this is applicable only if the placement is vertical. horizontal placement do not suffer from the problem this var is solving. if it contains ~~, then right of it is for when paging. this is new convention
// in order for a variable to use ~~, it must be treated at the recevinng end ALWAYS with the new blp_getarg function. applying the ~~ conveneince to older variables may break them unless care is taken.
$wrap='1';
$container='1';
$wrap_style='padding-bottom:0px;background-color:alternate;';
{/args}
{tax_query}
#$category='faith or life or world-affairs or nature';
$channels='live-tv';
{/tax_query}
[/blp]
[blp id="display-meta-term-includeat-blp-topics-php" function='diy_include' ignore="0"]
{args}
$include='system/display-meta.php';
$data='term-meta::term-include-3';
$template='
__DATA__
';
$wrap='1';
$container='1';
$wrap_style='padding-top:0px;padding-bottom:5px;background-color:white';
$title=''; // when you do not want to show a title but do want to enjoy the wrapper normally, use this trick
// look the new kwywird: alternate-next. this is new. if you supply this , then the blp_wrap function skips to the next one as sopposed to the current alternate. this allows us to go around the back-to-back same color sections displays
{/args}
[/blp]
[blp id="display-meta-term-includeat-blp-topics-php" function='diy_include' ignore="0"]
{args}
$include='system/display-meta.php';
$data='term-meta::term-related-facets-3::process_related_facets()'; // see the last arg in the chain. That's a function in display-meta.php which does the inclusion of the mentioned facets in terms of cell_rows UI
$template='__DATA__';
{/args}
[/blp]
[blp_terms_to_terms_2 id="terms-to-terms-category-to-by" from="channels.live-tv" to="by" min_get_posts_count="10" unwanted="UNWANTED-POLITICS.txt" template="owl" top="20" intersect="1" update="2" fresh="0" title="using the one in the wrap" post_type="post,series" before="" after=" " output_when_there_is_no_output=""]
{args}
# following vars only available when template is 'owl' . the tag-cloud cannot take advantage of the wrap stuff yet, when blp_terms_to_terms put into diy_include, this may fix itself
# terms_to_terms is a different function thst is outside the blp framework. tying that into the existing cell system has been challenge.
# that's why only template='owl' seemds to be working. I can add some more cells but they would introduce inbalance in the system. this is a delicate matter
# I'm leaving it at this no-destructive mode. just know that terms-to_terms template=owl can use the args system below and no other template for terms_to_terms can.
# I might plan to add the folding list ui ( cell ) on to the terms_to_terms later on
################################# cell related #################################
$cell='owl'; // since $template is owl on this one at the terms-to_terms shortcode, visit functions.php's blp_create_owl_carousel_for_terms_to_terms function
// yes a diy incliude can use the common cell-uis such as owl, but it cannot use items like paging, show_once_count they all are good for query_wordpress
// this has to match to the template='owl'.
$owl_options=' autowidth:true,margin:10,responsiveClass:true,responsive:{0:{items:1,nav:true,dots:false}, 600:{items:2,nav:false}, 800:{items:3,nav:false,loop:false}, 1000:{items:6,nav:false,loop:false}} ';
$owl_image_css='style="border-radius: 50%;width: 150px;height: 150px;padding-bottom: 10px;"';
// sample combinations
// single item, full size slide show view:
// $cell_owl_options='autoWidth: false, items: 1,';
// $cell_owl_image_css=' class="owl-large" ';
// multiple item, non-partial, perfect fit view:
// $cell_owl_options='autoWidth: false, items: 2,';
// $cell_owl_image_css=' class="owl-medium" ';
// multiple item, partial, (bleeding ) view:
// $cell_owl_options='margin:10, autoWidth: true, items: 2,';
// $cell_owl_image_css=' class="owl-medium" ';
$owl_item_css=' class="item" ';
$owl_show_dots='1';
// if nav:true, (or dots:false) is present in the owl_options, then $owl_show_dots='0' may disappoint you! remove the nav:true & dots:false, then you can use $owl_show_dots reliably
// if 0, dots do not show!
$owl_style_css=' style="max-height:401px;overflow: hidden;"'; // this goes right above the div with the class="owl-carousel".
$cell_cell='cell-cell-owl-author.php';
################################# misc variables #################################
$the_title_truncate='';
$timthumb_params='&w=350&h=350&q=50';
$small_devices='1';
$links_point_to_author_home_pages='1'; # read key 453543453 at the readme-changes about this section. it's a good read!
// this special variable is applicable only when there is an author is avaialable. So when the "to" is "by" or "source".
// if set to 1, then the clickable thumbnail of the carousel items link to the author home pages
// if set to 0, then they link to intersecting posts, the "author" and the current "from" taxonomy
################################# wrap related ##################################
$wrap='1';
$wrap_background='alternate';
$wrap_style='padding-top:20px;padding-bottom:0px;background-color:alternate';
// padding-top:0px;padding-bottom:0px;background-color:gray; ';
// if you want a wrap with a 0 margin top & bottom,
// then pass something like $wrap_style=' padding-top:0px;padding-bottom:0px;background-color:gray; '
// and make sure your title is '';
// non-empty value on $wrap_style dismisses the wrap_background value above if any to begin with. Therefore, you must also provide the styles a for background color or url in your wrap_style
$container='1';
$container_background='';
$title='Most Contributing Authors in Live Tv';
// if wrap is to close to the top, have ' ' for your title so the h1s section title classes kick in to create the margin you want
// this title gets displayed only if blp_wrap=1.
// if you do not have a title, title section will collapse nicely.
// see function.php > blp_wrap to see how the wrap based variables are used!
// note if wrap=1 and title='' then you get no padding-top on the wrap,
// if you want a balanced top / bottom margin even when there are no titles,
// then supply $title=' ';
// that does the trick & gets you a balanced top/bottom margins on title-less wraps
$title_css='';
// if you leave it empty, it will default to class="section-title" ( this per functions.php. ).
// Sample usage: $title_css='class="section-title section-title-news-around-web"'; or $title_css='style="color:green;"';.
// Know that what you pass goes into the h1 tag surrounding the title, as is.
{/args}
[/blp_terms_to_terms_2]
[blp id="generate-page-summary-for_blp_taxonomy_archives" function="diy_include"]
{args}
$include='system/generate-page-summary.php'; # like any system file, this is a BLP system file.
{/args}
[/blp]
Fatal error: Uncaught Error: count(): Argument #1 ($value) must be of type Countable|array, null given in F:\inetpub\wwwroot\Accounts\IslamiCity.org\wp-content\plugins\blueprint\blp-theme.php on line 1195