Category: wordpress

  • Redirect WordPress back to Referring Page after Login

    This code will Redirect users back to referring page after successful login. All you need is, to put this code in the functions.php of the theme file.

  • Exclude Forums, Topics of bbPress from Caching

    If you are using any Caching plugin then you should not cache the forums part. We use Cache Enabler, the very simple caching plugin. You can exclude forums, topics etc. of bbPress using the following regex.

  • How to display post content in 2 columns

    Hello World!
    Lorem ipsum
    Add Style:- .half { width: 45.8333333%; float: left; padding: 1rem; }

  • How to Increase Font Size of bbPress

    Add the following code snippet in your theme style.css /* bbpress specific styling */ #bbpress-forums, #bbpress-forums ul.bbp-forums, #bbpress-forums ul.bbp-lead-topic, #bbpress-forums ul.bbp-replies, #bbpress-forums ul.bbp-search-results, #bbpress-forums ul.bbp-topics, div.bbp-template-notice li, div.bbp-template-notice p, div.bbp-breadcrumb, div.bbp-topic-tags { font-size: .9rem; line-height: 1.5; } #bbpress-forums .bbp-forum-info .bbp-forum-content, #bbpress-forums p.bbp-topic-meta, span.bbp-admin-links a { font-size: .9rem; }

  • Commands to Host WordPress in LEMP (Ubuntu 20.04)

    Necessary commands to host a LEMP stack in Ubuntu 20.04 in a Lionde VPS. These commands are applicable for any other VPS too e.g. Digital Ocean. First thing you need to buy a VPS. Its start with a price of $5 per month where you can host unlimited websites.

  • Host Multiple Sites with SSL in Ubuntu 20.04

    We will show only the commands necessary for hosting website. We will also show how to use https i.e. SSL for the websites. Your website can be of any type. We are showing WordPress installation although the commands are almost same.