Changing [/loop] and div class
-
Hello, I am new in wordpress and html. This question may be simple for a lot of you, but I don’t know the fix to it. I have such block of code from the previous developer. I want to change code about the “div class” to add in a link for each individual image, but I don’t know how to go about changing the code inside this [/loop]. It is the ‘feature courses’ and ‘rising star’ columns on the website, please click in to get a better visual.
For example here I have a block of code of the ‘feature courses’:</div> </div> </div> <div> <h2>Featured Courses</h2> <div class="grid-container">[loop query="posts_per_page=3&post_type=post&category_name=featured-courses"] <div class="image-caption"> <div class="crop">[the_post_thumbnail]</div> <div class="fpInfo"><div class="fpTitle">[link_with_content]</div></div> </div> [/loop]
There are 3 images on the column, however, I believe there are linked together by the loop? And I cannot go in to apply a single link to each of the image. I tried coping code straight from inspect, but that use messed up the entire display.
If anyone have done this believe, please let me know. I really want to solve this problem and make the website better.
And a more advanced request, I also want to add arrows to both sides of the row, so it is more like a slide show that we can display more posts at the same time. Right now, it is limited to 3 posts, and we have a new post coming up. If you have an idea of how to go about this, give me a direction as well please.
Thank you.The page I need help with: [log in to see the link]
- The topic ‘Changing [/loop] and div class’ is closed to new replies.