What matters in a WordPress blog migration
The migration is not only about moving posts. URLs, assets, authors, metadata and redirects all protect long-term search value.
Read articleCategory archive
Explore every article in CMS, with preserved WordPress-friendly URLs.
The migration is not only about moving posts. URLs, assets, authors, metadata and redirects all protect long-term search value.
Read articleWe recently migrated our website to another hosting service running FPM/FastCGI . We noticed under the website CMS -> tools -> Site Health Status , that all our REST API calls were failing authentication. It appeared to turn the request into an request from an Anonymous user even though we passed Basic Authentication h
Read articleSometime there is need to use some plugins in an application and you have the need to customize it UI or functionality to meet your business requirements. You install the plugins and make the necessary changes to meet the configuration. Few week later, you discover that your plugins has lost it custom formatting and th
Read articlePut the below code in youractivetheme.theme file /** * Implements hook_preprocess_HOOK(). */ function [theme]_preprocess_webform_confirmation(&$vars) { if ($vars[‘webform’]->id() == ‘put your webform id’) { // Set your custom message here $markup = t(‘Thank you for your feedback.’); $vars[‘message’][‘#markup’] = $marku
Read articleNormally when you use contact form 7 plugin , for dropdown select option, there is no option to set blank value for the first option to validate the select field. For example, what we have in wordpress contact form 7 <select name=”your_field_name”> <option value=””>—</option> <option value=”yes”>Yes</option> <option va
Read articleIn Yii2, while you use gridview widget to display your table data, for performing any operation on the record by selecting the checkbox, gridview assign the value of the first column retrieved from your the result set. But you need to set some different value to the checkbox, so to do that you can use […]
Read articleGo to OpenCart Admin>Extensions>Order Totals Click “Uninstall” for “Coupon” to remove this field Click “Uninstall” for “Gift Voucher” to remove this field Thats done! Enjoy.
Read articleSuppose you have created a content type named as “testimonial”. Now the requirement is to for search for a value “hello” under field name “title” then you can do so by using the below query. Please make sure that you have the “Entity API” module enabled. $searchkeyword = $_REQUEST[‘keyword’]; $query = new EntityField
Read articleSay for example you have your checkbox field code in your twig file as below:- @foreach ($serviceList as $servloop) <div class=”checkbox”> <label> <input type=”checkbox” name=”services[]” value=”{{$servloop->service_id}}” {{ ( is_array(old(‘services’)) && in_array($servloop->service_id, old(‘services’)) ) ? ‘checked ‘
Read articleThe column which you want to wrap should be added the property called “contentOptions” where you can apply the css property to suits your needs and requirements as below. [ ‘attribute’ => ‘column name’, ‘format’ => ‘html’, ‘noWrap’ => false, ‘mergeHeader’=>true, ‘contentOptions’ => [‘style’ => ‘width: 50%; overflow: sc
Read articleIn Action File ========================================================== $this->form = new youFormclassname(); To set individual Label $this->form->getWidget(‘widgetname’)->setLabel(‘widget Custom label’); To set multiple field label $this->form->getWidgetSchema()->setLabels(array( ‘field_name_1’ => ‘Field 1 Custom La
Read articleIf you want to have custom templates for your node. You can create templates specific to node ID as follows. Add the below function in your template.php if its not exists. function yourcurrentthemename_preprocess_node(&$vars, $hook) { $node = $vars[‘node’]; $vars[‘template_file’] = ‘node-‘. $node->nid; } If the functio
Read article