…using getOption function $aa_getpostid_array = $titan->getOption( 'aa_multicheck_posts_opt' ); /** * * Printing array contents * */ var_dump( $aa_getpostid_array ); ?> First, get a unique instance in line #3 via the getInstance() function. Then use the getOption() function in line #6. Register the option ID aa_multicheck_posts_opt as its parameter and save…
…using the $this object.$this->redirect($this->url->link('account/login', '', 'SSL'));Now, here's what it looks like in the 2.x.x version. In the recent version, the redirect method belongs to the Response class and is thus accessed via that object.$this->response->redirect($this->url->link('account/login', '', 'SSL'));Load the Language FileIn 1.5.x, you would use the following snippet to load the corresponding…
…using getOption function $aa_getsortable_array = $titan->getOption( 'aa_sortable_opt' ); /** * * Printing array contents * */ var_dump( $aa_getsortable_array ); ?>To get saved values, first get an instance via the getinstance() function in line #3. Next, register the option ID aa_sortable_opt inside the getOption() function as its parameter. The values are…
…using the $_label variable, which will be different for each mode. Similarly you can modify the sort-by and limiter parts yourself by comparing it with the actual toolbar.phtml file. After the modifications, the final code for this file will look something like this:<?php if($this->getCollection()->getSize()): ?> <div class="toolbar"> <?php if( $this->isExpanded()…
…using getOption function $aa_getpostid_array = $titan->getOption( 'aa_multicheck_posts_opt' ); /** * * Printing array contents * */ var_dump( $aa_getpostid_array ); ?> First, get a unique instance in line #3 via the getInstance() function. Then use the getOption() function in line #6. Register the option ID aa_multicheck_posts_opt as its parameter and save…
…Using WooCommerceDeveloping a WooCommerce ThemeWooCommerce Products for purchase, study, and use in your own projects
…using the API of Titan Framework. Let me know if you have any questions by commenting below or reaching out on Twitter.
…using the code below:<reference name="left"> <block type="catalog/navigation" name="left_categories_nav" before="-" template="catalog/navigation/left.phtml"/> <block type="core/template" name="left.permanent.callout" template="callouts/left_col.phtml"> <action method="setImgSrc"><src>images/banner-small-01.png</src></action> <action method="setImgAlt" translate="alt" module="catalog"><alt>Our customer service is available 24/7. Call us at (555) 555-0123.</alt></action> <action method="setLinkUrl"><url>checkout/cart</url></action> </block> <block type="catalog/product_compare_sidebar" before="cart_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/> </reference>Use it just as a reference code—you can add more modules or…
…using the service in some common scenarios across your site network, such as updating WordPress, installing plugins, managing users and roles, running backups and more.Before we get started, please remember, I do try to participate in the discussions below. If you have a question or topic suggestion, please post a comment…
…using that parameter). Let's list all the options which support this parameter: Text Textarea Color Upload Number Editor Checkbox Font Radio Radio Palette Radio Image Select Let's learn how the css parameter generates CSS properties via an example.Example DeclarationHere, I'll create a color type option in an admin panel. Use…