Author: wbxpress

  • Assign Content of Deleted Anonymous User to a Real User

    Assign Content of Deleted Anonymous User to a Real User using mysql command as there is no option of doing this from wordpress dashboard. 1. Create a user from admin panel and note down the userid. Suppose it is 1623. 2. Then run the following SQL query.

  • Display All Categories and Tags in a Post or Page

    Display all categories and tags in a page or post of wordpress without any plugin. This can be achieved simply adding a snippet of code inside functions.php

  • 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; }