How to display excerpts in WordPress posts.

To display post excerpts in WordPress, put this code in the index.php <?php if(is_single() || is_page()) { ?> <?php the_content(__('(more…)’)); ?> <?php } else { ?> <?php the_excerpt(__('(more…)’)); ?> <? } ?><?php if(is_single() || is_page()) { ?> <?php the_content(__(‘(more…)’)); ?> <?php } else { ?> <?php the_excerpt(__(‘(more…)’)); ?> <? } ?> This will display full … Read more

How to set an IP address for a VLAN on a Cisco 2960G switch.

To set an IP address on a VLAN on a Cisco switch, firstly access the configuration section for the VLAN in configuration mode. arya(config)#interface vlan 1arya(config)#interface vlan 1 Then the administrator may set an IP address for the VLAN. arya(config-if)#ip address 172.18.31.210 255.255.255.0arya(config-if)#ip address 172.18.31.210 255.255.255.0 Then you are all set. To save the running … Read more

Get Prolific USB-serial adapter working with Windows 8.

Getting the Prolific USB serial adapter working with Windows 8 can be difficult. Especially if you are studying for CCNA and you need to access a 2960G switch on Windows with Putty. As strange as it may look, you need an outdated driver to make it work. The only working version I have found is … Read more