Ok so, TwentyTen is a great new theme, fine.
However, I wish to add more functionality to it and make it like a theme having a magazine style front page (similar to Hybrid News) with mainly a "Whats Hot" Featured Section where I can pick up posts dynamically having the most activity on them (like checking the number of facebook likes or twitter shares or comments etc.) I need this feature as the number of authors on my site will increase and I would need this kind of a selection mechanism to mark out the trending posts.
From what I figured out till now, I would have to add some php to my theme, and do a bit of CSS.
But, How do I go about it? Because the codex is confusing me on this one.
#Pekka is correct. This does require a little more ingenuity than some PHP. Try this plugin out. It's built for 2.9.2, but does work with 3.0 just fine. I'm sure the author will update it eventually since it's a popular one.
Related
I have done a tutorial about writing WordPress plugins but this tutorial was bad. The teacher said about creating widgets and shortcodes (adding an option to that) but a lot of plugins can display it's options in other places. For example - the Yoast plugin can display it's an option on the page to create a new page. I don't know even how to find information about that. Could you give me a link or said me how can I find that?
The site is a charity site, which is expected to have a news feed of goings on within the charity and events. Most of the home page is complete. But I don't know exactly how to write the code for an article in bootstrap, so that when I upload it to WordPress, it will interact properly. Allowing me to create new articles, remove old ones, etc. I either need to find out how to do this, or find out if I can use plugins to give me the same effect. This is my first time using WordPress. If you know of even a tutorial or something that helps with the news feed being built in bootstrap to work in WordPress, I would be over the moon. Thank you to anyone who offers their help!
I've tried to find an answer online but all I get are pre-built news theme suggestions. I guess there just that many it drowns out any answers.
The short answer is no.
A bootstrap theme is just a static page. (HTML, CSS, JS, etc.) But WordPress creates all its pages dynamically. This is because all the blog posts are saved in a database. In order to work with WordPress, you would really need to use a WordPress theme. If you know PHP you could easily migrate your bootstrap theme to a WP theme.
There is even a bootstrap starter Theme which might help you to get started: https://de.wordpress.org/themes/wp-bootstrap-starter/
In this case you would really just need to add your markup, styles and scripts to the project.
I am new to WordPress, so it might be silly questions to you people. I am using Magazine Base free theme provided by wordpress community.
I am adding post with featured image in it, sometimes it gets added to Trending now section, sometimes not. So can anyone please advise me, How to add custom posts on Trending Now section.
I got the resolution, Thanks Anyways. Its becuase of theme customization setting, which take only Lifestyle as a category for Trending Now section.
Anyways Thanks a lot !!
I am a food blogger and have recently learnt about recipe rich snippets. I found some material online, mostly being about plugins. I tried using ZipList plugin, which is actually pretty good, but
For some posts, I cannot add pictures within the recipe box and
I cannot add alt text to my pictures (which I find to be quite SEO-unfriendly or is it?).
So, I was thinking of trying to implement it by myself onto my website.
Any good links or advice on how to do it? I tried looking on google but I am only coming up with plugin tutorials.
Yes, your search results are correct.
If you don't want to use a plugin, you have to code it yourself. But this is the kind of thing that you don't want attached to your theme's functions.php ("without a plugin"). Because you have to be able to swap themes and preserve this functionality. Themes are for design and content display. Plugins for functionality. All those themes with SEO incorporated are simply dumb.
So, you end up writing your own plugin. See this article: Create a functionality plugins instead of using Functions.php.
What is a functionality plugin?
Traditionally, if you wanted to create a new function for your blog to add to its functionality, the advice has been to add the code snippet to your theme’s functions.php file. Now that’s all well and good and it will work fine, but what happens when you change your site’s theme (which you can guarantee will happen at least every few years) or the theme gets updated? Since functions.php is located in your active theme folder, if you change your theme, it inherently becomes defunct.
All that being said, what I'd suggest is that you create a Custom Post Type to handle your recipe snippets. You'll have all the default functionality of WordPress customized to your needs. The CPT could have only Title, Content and Featured Image, eventually your own taxonomy (recipe categories).
Useful links:
Documentation of CPTs
Smashing Magazine tutorial
WP Tuts tutorial
Or you can use a nice plugin to create your CPT :)
I'm having a hard time with a wordpress mobile theme named mobify. I need the theme to display each of the posts in a mobile browser with full text and picture, but it only does that for the first 2 posts. Me being a web developer and not too familiar with Wordpress have looked at the html code and tracked the culprit down to the tag that's present in the first two posts and not in the rest. It's
<div class="entry">
I'm pretty sure I can find a way to hack this css class into the backend of the Wordpress script, but I'm asking the experts, what's the Wordpress way to modify the script so it's present in every subsequent post after?
Peter here -- I'm the Chief Architect at Mobify. The Wordpress plugin has been deprecated & discontinued for some time. We did indicate that in the plugin page -- but I realize there are still some blogs / sites that have direct links.
We still support Wordpress, and every content management platform. There's just no longer any need for a platform specific plugin -- we can support every platform using a simple HTML tag inserted into the page. Give us another look. Feel free to get in touch if you have further questions.