Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Montezuma Theme (http://forum.bytesforall.com/forumdisplay.php?f=53)
-   -   related post by category (http://forum.bytesforall.com/showthread.php?t=19183)

fafa Dec 22, 2012 01:56 PM

related post by category
 
i try meany code to show related post by category at end of each post but non of them work .

see this result i use most of them but they don't work :

https://www.google.com/search?hl=en&...ordpress&btnG=

do you know what's wrong?

lmilesw Dec 22, 2012 02:27 PM

Try a search on wordpress.org and look for plugins that have been updated recently.

fafa Dec 22, 2012 02:40 PM

Quote:

Originally Posted by lmilesw (Post 94137)
Try a search on wordpress.org and look for plugins that have been updated recently.

thanks . but for related post it's better use code instead of plugin . because this plugin give so much load of server and slow down speed of loading ..

juggledad Dec 22, 2012 02:50 PM

seems to me code that doesn't work verses a plugin that does is a lot more trouble. Unless you are planning on having thousands of visits per hour, I don't think it will make much difference. And if you are going to have that kind of load, you need to hire someone who can put in the most effecent code possible and monitor it on an on going basis.

lmilesw Dec 22, 2012 06:23 PM

Quote:

Originally Posted by fafa (Post 94138)
thanks . but for related post it's better use code instead of plugin . because this plugin give so much load of server and slow down speed of loading ..

Here is an article that talks about plugins vs code which argues that code is not better just different. If you have different information please post.

fafa Dec 23, 2012 03:59 AM

Quote:

Originally Posted by lmilesw (Post 94145)
Here is an article that talks about plugins vs code which argues that code is not better just different. If you have different information please post.



there are many articles that say plugins may slow down the blog. because they edit database like option table and so ask many from databace . some of them load in all plase of blog like contact form that we need them just in specific page not all page of blog.

related post and most populary post are one of important part of blog but their plugin use so memory and ask query from sql . but The php code that we can use in single.php are more advantage than plugin .

6 Questions To Ask Before You Install A WordPress Plugin
Code in theme functions.php faster than with a plugin?

juggledad Dec 23, 2012 05:57 AM

if you take the function that a plugin uses and carefully craft it and add it to functions.php, yes things will run faster...how fast is a matter of conjecture do to all the other factors involved - including how fast your own computer is and how much memory it has and how many other processes are running on it!.


But, yes not using the plugin will be faster by some degree.

Now your chalange is to figure out what to take from the plugin, how to add it to function.php, how to get it to run.

All of that is beyond the realm of this forum, but keep us informed of your final solution.


All times are GMT -6. The time now is 11:35 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.