Tag Info

New answers tagged

0

I see you are on WP.com blog. .home .attachment-pictorico-home.wp-post-image { height: 100%; width: 100%; } This small CSS code can fix your issue. But, I think(I am not sure) you will need to buy some add-on to edit styles on a WP.COM blog. If you can edit styles, just paste it in the end of your stylesheet file, and you will have your pics on ...


0

There's at least 2 ways to do this and all changes should be made in a child theme. Note: Use the 2nd method if using Post Formats. 1. In the content.php file around Line 14 change this line <?php twentyfourteen_post_thumbnail(); ?> To this: <?php if ( ! is_home() ) twentyfourteen_post_thumbnail(); ?> 2. Or around line 172 of the ...


0

I've Discovered that you can use the add_image_size function to achieve this. Function Reference/add image size


0

You want to query for the pages on the current site? WP_Query is your friend! first tell it what we want $args = array( 'post_type' => 'page' ); then create the query $query = new WP_Query( $args ); now check if it found any pages if ( $query->have_posts() ) { If it did, do a standard posts loop: while( $query->have_posts() ) { ...


0

If I understand, you need to create a template that list all your pages (actors) on one template. If this is the case, you need to create the actor archive template to allow you to: Add a page where you can list all your actors Left the page template intact So, the template that you need to create is archive-actors.php Then, on this template, you need ...


0

Make sure to define( 'WP_DEBUG', FALSE ); in wp-config.php. For some reason it doesn't allow you to add featured images from a custom post type with Debugging on.


0

The problem was that I read the image sizes inside the "init" hook at which point the additional sizes are not loaded yet by Wordpress. I used a "later" hook now and it works.



Top 50 recent answers are included