Extract posts from wordpress blog to another site - php

I'm having a site where i would like to show posts from other blogs. I want to integrate it into my website, therefore i need to scale down the images and place it inside and div. I know i get get the content from the blog /feed?=json, but since i need a little more freedom on the image size, what would be the best solution?

You want to post from a feed into WP directly? If you want work with the content and image size, you might need to add new posts per article.

Related

Custom WordPress post types NO PLUGIN

So I been tasked with creating two custom post types for WordPress as an exercise. Was wondering what direction I should go with this. Check it out below:
Part 1
Create a custom post type called Products
A Product needs fields in the admin for Title, Link, Image, Background-color
Take each of the images from the product-images directory, and create a product from them.
Each one should have:
a different background-color
a different title
Display these Products on the home page, and make sure that it looks good in every screen size. You can refer to the screenshot called products, in the screenshots directory, to see how it should look.
Part 2
Create a custom post type called videos
A video only needs fields in the admin for Name, youtube-id
Take each of the videos listed in the text file videos-list and create a video from them.
On the home page, below the products section, create a new section and that shows only one video and a list of text links for the other videos. Refer to the screenshot called videos, also in the screenshots directory to see how it should look.
When you click the link to another video in the list, the video displaying on the home page should change and become the new video
Can anyone give me some direction on how to go about this. I understand how to create a custom post type. What I don't seem to get is how to create fields for a bg color and image. For the video section I am further confused as to how to actually create the section with links on the right and a video that changes to the left once the appropriate link has been clicked.
I'm not a WordPress guru by any means so any help on these 2 problems would be greatly appreciated.

Wordpress: How to Change Latest Posts Design

I want to change the way my 'latest/recent posts' are displayed. Currently they are using a very large thumbnail with a large H1 Heading above it.
I want to make the thumbnail images smaller into a square dimension, and have both the heading (title) and the text directly to the right of that thumbnail image. I'd also like it to be encased in a box/border.
I also want to add a "Latest News" or "Whats New" Banner right above my latest/recent posts.
Keep in mind I am using Wordpress. That being said, which file do I edit/code? And what are the lines.
Here is my current post layout/design: http://puu.sh/74mhm.jpg
and Here is a perfect example of my desired result: http://puu.sh/74mj5.jpg
Thanks in advance all.
Cheers!
Go to your theme and edit the index.php, this is the file that formats your post list. Wordpress has a number of ways to format posts though from CSS to the admin console so editing template files should be your last resort.

Change in media library doesn't affect published articles

I'm running a WordPress blog with a lot of published articles and a lot of pictures in the media library. My question is:
Is there a way(plugin?) to make WordPress apply changes I made in the media library(e.g. changing the description/alt text of a picture) to already published articles containing that picture?
Each time a media is used by Wordpress on a template, its proper data (excerpt, etc.) sould be loaded.
Try to clean your cache to force Wordpress to reload the data.
Maybe the theme you use on your blog don't use the right fields to populate the alt text of the pictures. Semantically, it should be 'image_alt' and 'post_description'.

Wordpress Content Adjusting Itself Based On Content Type

I wasn't sure how to search this up but I am looking for a kind of plugin or theme that adjusts homepage content listing similar to the way Facebook timeline adjusts it.
The adjustment is based on the type of content you have (ie, one photo, or three related photos, or a video, or just a regular text/blog).
Your help is much appreciated.
Thanks
As i can understand you if you are looking for this
http://wordpress.org/extend/plugins/wp-facebook-timeline-mf-timeline/
Creates a visual linear timeline representation from your WordPress posts and other media sources in the style of Facebook Profile Timeline.

How to create a thumbnails page in WordPress

I'm creating a WordPress photoblog theme and I want to create a thumbnails page that sits between index.php and single.php.
The idea is that when someone clicks on a blog post, they go to the thumbnails page to see all photos attached to that post and they then click on an individual image to be redirected to the blog entry. Does WP templating support this?
WordPress just loads the files inside of the theme's directory, so you aren't limited by WP much.
If you want, why not just make the index.php file have a section which runs only when it receives a $_GET variable denoting that the user has requested the thumbnails page?
This is sort of what I mean:
single.php:
<?php
if (isset($_GET['gallery']))
{
// Show the gallery.
} else {
// Show the main content instead
}
?>
And on index.php, you could add the gallery parameter to the URLs:
Title of Article
But that's just the way I'd do it.
I don't see what you mean by "the user clicks on a blog post", but in short, you could modify the main template to write a link like:
Show Photos
Then write some custom plugin to manage a set of photos per blog post.
Finally, create a page "showphotos" and assign it to a theme file and add the necessary PHP code to generate the thumbnails inside of it.
The problem with your question is that you're asking something similar to "how do I build a wooden tower"? There are different ways, and each depend on different use cases, none of which are specifically tackled by your question. Don't forget that we on SO are not here to create plugins for you, so don't ask for elaborate systems and instead focus on what's bugging you.

Categories