What wordpress plugin would sue my needs?

Hello fellow stackoverflowers,

I'm really confused regarding wordpress and i'm trying my best to understand everything.

What i need is a plugin that will make my posts look like portfolio page with images on it, so it's something like:

Title1
____________________________
|Text Text Text|Image Image|
|Text Text Text|Image Image|
|Text Text Text|Image Image|
----------------------------
Title2
____________________________
|Text Text Text|Image Image|
|Text Text Text|Image Image|
|Text Text Text|Image Image|
----------------------------

I have also asked this question on WP based forums, but noone can actually help me there.

I need it as i have few friends that has no experience in any websites and i would like to make them posting our portfolio jobs easier.

Thanks in advance

Solutions

Try to place below code into your file:

<?php while ( have_posts() ) : the_post();  ?>
                      <h1 class="entry-title">
                            <a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a>
                    </h1>
                    <div class="entry-content">
    <?php the_content( ); ?>
                        <?php $attachments = get_posts( array(
        'post_type' => 'attachment',
        'posts_per_page' => -1,
        'post_parent' => $post->ID,
        'exclude'     => get_post_thumbnail_id()
    ) ); 
 ?><div id="posts">
<ul><?php
    if ( $attachments ) {
        foreach ( $attachments as $attachment ) {                 
               $thumbimg = wp_get_attachment_link( $attachment->ID, 'thumbnail-size', true );
            echo '<li class="thumbnail">' . $thumbimg . '</li>';
        }        
    }
  ?>    </ul>
 </div>
                    </div>
        <?php endwhile; ?>
Tags: Wordpress / Plugins

Similar questions

to perform the requested action wordpress needs to access your web server. please enter your ftp
I'm following Changing File Permissions « WordPress Codex, yet when I'm try to update and/or install plugin and/or theme through wp-admin, I'm getting following: To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your w...
wordpress multisite config issue needs help
Here is the wp-config.php code: The main site is served from public_html/wordpress so when someone visits abc.com they are redirected to abc.com/wordpress I have another site which is abc.com/wordpress/cde. The issue is when I post under this sub-domain (for multisite) the post is automatically posted to site 1. Also, I am not able to change permal...
Including a 3rd party library in Wordpress which needs to be accessible by wp-config
I'm attempting to use the Defuse encryption library in Wordpress: https://github.com/defuse/php-encryption I'm using this guide as a resource for how to implement it: https://torquemag.io/2016/10/storing-encrypted-data-wordpress-database/ My question is, if my wp-config file requires access to a library, where should I put the library and require t...
Ajax Wordpress Login needs to be stayed in current page Url without redirecting
Currently i am creating a login system based on ajax in wordpress after successful login it was redirecting to homepage but what i need is it needs to be stay in the current page where the user is logged in. Here is my code from functions.php. I have tried to make it work by adding redirect url. Even after this also it was not working,
To perform the requested action, WordPress needs to access your web > server
Please help me, I installed WordPress locally to learn how to make sites but after my installation when I wanted to install a WordPress elementor plugin I receive this message: To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should...
Creating a WordPress plug-in that needs Authentication
I want to create a WordPress plug-in but also want to ensure that the plugin can only be used after it has been activated with a serial key that should be unique for each domain. What is the best way to go about it assuming: The simplest solution is to have a server that will be able to serve as an endpoint for verifying if the domain that the requ...

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.