WordPress reading settings don’t actually show summaries or post excerpts of posts on the archive pages. It’s used to specify what you want to show at the feed, either summaries or full text? The difference is that the selection is for feed, not the archive pages.
Author » Amit Sonkhiya
3 Ways to Change Array Key without Changing the Order in PHP
You can change array key too easily but doing it without changing the order in PHP is quite tricky. Simply assigning the value to a new key and deleting old one doesn’t change the position of the new key at the place of old in the array.
Setup Debug & Release Environments in Android App – The Best Way
We need to setup debug, testing or release environments or variants while creating an Android app. In a web application, we mostly have the option to define environment configuration variables. In Android, you can also setup debug, release or other build types and their parameters. The app will have the appropriate set of parameters depending upon the build variant.
PayPal Fees too High and how Currency Conversion Works
PayPal fees are too high and not everyone knows how the PayPal currency conversion works actually. PayPal’s exchange rates or currency conversion rates are too poor and it’s due to high fees/charges behind.
Connect Android App to Localhost Web Server Over Wi-Fi
Access or connect android app to localhost over Wi-Fi and it will give you a lot flexibility to develop, run and test the app. My scenario was that I had created an android app which had need to access my local web server (XAMPP) for faster testing and the application was running on an emulator as well as device.
Add Custom Taxonomies to Custom Post Types in WordPress
You just need a function to add Custom Taxonomies to Custom Post Types. In previous article we made WordPress default taxonomies called Category & Tag to support our CPTs. Here we are going to create custom taxonomies for them.
Add Default WordPress Categories and Tags to Custom Post Types
You can add default WordPress Categories and Tags taxonomies to Custom Post Types through passing taxonomies parameters to arguments. In previous article we had learnt how to create CPT using code in functions.php. Here I will explain how can you use WordPress default built-in taxonomies like Categories and Tags with those CPT.
Screen Options Not Working in WordPress Dashboard
Screen Options Not Working / Saving in WordPress Dashboard is a very irritating problem. Once you update / save any screen option and it doesn’t work at all. Or does only once and fails on next page reload.
Align Div or List to Horizontal, Vertical Center to Parent
Bootstarp 4 has introduced classes to align div or list to horizontal, vertical center to it’s parent. Do you have a list inside a div and you wish to vertically align center to list items inside the parent div? And want to maintain vertical centered position as well as horizontal centering in Bootstrap when viewport size changes? I described here how Bootstrap and Non BS users can accomplish this alignment.
Modal as Popup or Direct as Page Content in Bootstrap
We always use Modal as Popup in Bootstrap. But just with a little PHP & CSS, we can use it direct as page content. It’s useful when we want modal to behave as expected, popup at most of pages in our Bootstrap 4 powered web application. But wish to put it directly on a particular page with same content on popup.