Which WP plugin should I use to generate "popular" posts? [closed] - php

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
As mentioned in my previous question, I happened to see this site 22words.com and just can't figure out a few things:
1) in the source code, it seems the name of the WP theme is "twentytwo" but there's no such a theme in existence. How could this be possible? Maybe they used another theme and renamed it to "twentytwo"? Is that do-able? How to actually do it? Or maybe they just custom-made the theme and gave it a name called "twentytwo"?
2) Some posts have a big green "read more" button (e.g. twentytwowords.com/if-you-have-keys-and-a-purse-or-know-someone-who-does-youve-lived-some-version-of-this-story/) how does this work? If I want to mimic this approach for long posts, what's the best way of doing it?
3) The top navigation bar have drop-down menus such as "latest posts" and "popular posts" in the respective categories. Is all this a gimmick or not? I mean, what's being shown are actually "latest" and "popular" posts, or is it just BS and there's no stats to back up "popular"? If it's not gimmick, then how is it implemented? Which plug-ins are in place to calculate traffic and generate "popular" posts?
Any help would be much appreciated!

lets get this done quickly :)
1.) I guess they have made an own theme and named it that way.
2.) In the editor you have a "readmore" tag
if you click this you will insert a special line / markup.
Now your theme nees a call for this line
"Excerpts (teasers) can be shown on WordPress through two methods:
The first, keeping the the_content() template tag and inserting a quicktag called more at your desired "cut-off" point when editing the post.
The second, by replacing the the_content() template tag with the_excerpt()."
Here is all you need: Link to wordpress documentation the excerpt
3.) There are quite a lot of ways to do that. You could order posts by popularity by the number of comments or the number of views or the number of shares. There a loads of tutorials on the web to do so. It's so simple it would be sad to use a plugin AND: you could learn a lot from it...
tutorial by view is here: http://www.wpbeginner.com/wp-tutorials/how-to-track-popular-posts-by-views-in-wordpress-without-a-plugin/
tutorial by number of comments is here: http://www.jafaloo.com/how-to-display-popular-posts-in-wordpress/
all the best
fabian

Related

WordPress - Looking to restrict specific content [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 8 years ago.
Improve this question
Just had some questions I hope someone can shed some light on. I am looking to restrict certain data on a WordPress page to certain users, there are lots of plugins that offer restricted content in some ways, but I am looking to only restrict very specific content on that page, not the whole page. Is there something I am missing or something I should look at?
Just to give some more information, we're working with custom post types and on one of the pages that show the custom pages, some of the data that is being pulled out (within appearance->editor, not actually the WordPress page) so I will need to be able to have some kind of access to if($userlevel == "something") {}.
Many thanks
Nevermind It is actually quite easy, check the userlevel and restrict content, perhaps add a new role:-)
Think you can write simple plugin for this task or modify current theme. May be section [a link] http://codex.wordpress.org/Function_Reference#User_and_Author_Functions help you. Wordpress Codex have a lot of information and you find what you need to solve your task. As i understand you need to use functions like user_can, current_user_can, current_user_can_for_blog or get_role and add_role inside wordpress loop.

Changing images through admin panel [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
Hey stackoverflow users,
I'm curious about Wordpress, I'm new to the whole Wordpress theme creation so I've began by using the basics of HTML combined with looking through the Wordpress codex to build a theme.
However, I have one question: How could I make it so images could be changed through the admin panel?
Let's look at it like this, I could set out, say; a logo div and a banner div, is there a way I could be able to set them so their images could be modified through the panel?
What would be the easiest method to do this?
Thanks
You could use the following for the header image:
http://codex.wordpress.org/Function_Reference/add_theme_support#Custom_Header
You can also define custom text inputs via the Settings API:
http://codex.wordpress.org/Settings_API
I would say that the second link is not for beginners. To gain a little familiarity with theming I would try deconstructing Twenty Twelve or Twenty Thirteen. I would also examine the reason why you want to content manage these particular items. If you are looking to create a theme for distribution, there are many resources that can help you with this in the WordPress Codex.
there is no simple way to do that, you would first code or modify a theme to make it work like plugin, or what would i suggest is use theme editor in admin panel that is possible easiest way available.

Dynamically populated javascript slideshow [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I would like to create a dynamically populated javascript slide show for an e-commerce site, where I have a product list with several categories.
I would like to be able to create slide shows with roughly 5 linked images displaying at one time, starting with newest products. I'd like to be able to take them all from the same list and put them in different slide shows, so for images from category 1 they are in category 1 slide show, same for cat 2,3, etc...
Is there a tutorial or series of tutorials that could teach me this that someone would personally recommend (there is plenty on dynamically populated javascript and plenty on slide shows, but nothing that links the two in a way I can understand).
If there isn't would someone be willing to share a sample code or something for it, if I can see the code I can figure it out for myself, but if you are willing to explain in detail then that would be even better.
Thanks!
I'm not sure if this is exactly what you are looking for, but you can try this tutorial: http://sixrevisions.com/tutorials/javascript_tutorial/create-a-slick-and-accessible-slideshow-using-jquery/

Manage Tags for entries of the website with JS and PHP [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
In my webiste, I classify all my entries by categories, wich its becoming a little confusing as I have like 3.000 entries now.
so, I need to implement tags.
I know all the website use them now, wordpress and everything.. I have been google'ing for a real while... is there a built in script (or almost) to manage tags? (insert tags, list tags, top tags,.)
I mean, there has to be any utility that can help me with this.. do you know any?
you haven't found a script probably because using tags is quite simple :)
I have implemented tags into one of my projects using the "Scuttle" solution in the next link:
http://www.pui.ch/phred/archives/2005/04/tags-database-schemas.html
Hope this helps...
Treat your categories as tags now.
If your categories are not poly-hierarchical, then consider making them so.
(eg an article could appear in more than one category)

CMS without a template? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Is there a CMS that can manage content on a site without having to implement a template?
I've already designed a site with XHTML and CSS, so don't need a template, but do need active content management in static places, such as articles on the homepage and on a couple of other pages.
Preferably open-source all the way, and tableless layout.
You'll need to add the active content parts to your designed site. That means you are creating a template.
A solution could be wordpress. It allows to add small dynamic parts to your site and has a relatively low learning curve. It's open source too.
I've seen WordPress's backend used as a CMS without a front end template. They used WordPress to write, organize, and otherwise manage content, but used their existing site plus a few database queries to pull in the content from WP.
It may be easier to just create a basic WordPress template from your existing site's design. It takes about 10 minutes when you've done it a lot, or a few hours for a newbie.
Try Cute News.
http://cutephp.com/
It will allow you to add new articles, and you can implement it into your current design easy.
Yes. Serene CMS. It allows you to use a powerful WYSIWYG editor and insert that content wherever you want with one line of code.
http://demo.serenecms.com

Categories