How to get single post ID or post link and pagination cancelling ?

SAID ELSHIKHA Posted in General Discussion 8 years ago

i have some questions please support :
how can i get single post ID or LINK to use outside my web site?
how can i make setting for news feed and timeline to adjust pagination or to cancel pagination?

Replies
pk Malik Umer Farooq Replied 8 years ago

Sorry typing error return 4;

pk Malik Umer Farooq Replied 8 years ago

The default pagination is 20 in this component if you want to change
Find these line
yourdomain/components/customPagination/ossncom.php
function set
newpagelimit(){
return 20;
And change the value of return example if I want to 4 write return 5:
That's simple thanks

pk Malik Umer Farooq Replied 8 years ago

If you want to get post id use mysqli or pdo for this easily you set id of post
Use same method to do like

Sanskrit SAID ELSHIKHA Replied 8 years ago

Also i installed custom-pagination but it is not working or I do not know from where setting

Sanskrit SAID ELSHIKHA Replied 8 years ago

thanks a lot Malik Umer
I downloaded custom-pagination
but I still need post ID or LINK if any one can support me.

pk Malik Umer Farooq Replied 8 years ago