Changing Default HomeScreen

Basically there are 4 homepages available. You can choose any of them as your default.

HomeScreen 1 (Set by default)

This is a tabbed viewpager fragment which shows posts from the specified category. The first tab will always be the Latest and will show posts from all categories. Other tabs can be added or removed from WorDroid Plugin Dashboard.

How to make this default homescreen (If it is not)

Go to MainActivity.java and find the code mentioned below

Note that they are in the same order as the BottomNavigationBar. Which means the 1st Fragment ( MainFragment() ) will be shown when the first item in the BottomNavigationBar is clicked. 2nd Fragment ( CategoryFragment() ) will be shown when the second item in the BottomNavigationBar is clicked and so on.

You need to edit the first line and make sure it looks like this

HomeScreen 2

This homescreen contains a slider and a list of post below that. If you want to set this a default homepage then follow these steps.

Find the code mentioned below.

Change the first line of the above mentioned code and make sure it took like this

HomeScreen 3

This homescreen contains content list of post. The sections can be configured from the plugin dashboard. If you want to set this a default homepage then follow these steps.

Make sure you have the latest version of WorDroid Plugin installed otherwise the app may crash.

Find the code mentioned below.

Change the first line of the above mentioned code and make sure it took like this

HomeScreen 4

This homescreen shows the latest posts from site in a grid manner. If you want to set this a default homepage then follow these steps.

Find the code mentioned below.

Change the first line of the above mentioned code and make sure it took like this

Last updated