coke
Forum Replies Created
-
Forum: Hacks
In reply to: Get attachments individuallyperfect. Thank you so much!
Forum: Hacks
In reply to: Get attachments individuallyThank you so much! I will certainly do that out if it grows furthur.
I can’t seem to reference the images by their index like you suggested, could I bother you for an example of code on how you’d do it?
Forum: Hacks
In reply to: Get attachments individuallyI did consider that but if there’s not a solution for the control it’s not a train smash.
It’s an extremely simple website and there will only be one page.
Regarding the number, for now I think there will only be 3. If there are any more in the future, I might consider going up to a maximum of 5 or incorporating some sort of slider (or three sliders) in the space of the three images, so that each time you click an image it will slide, if that makes any sense
Forum: Hacks
In reply to: Get attachments individuallySure,
essentially I am trying to achieve this effect:
https://www.arriere-garde.com/wp-content/uploads/2014/12/ffffff.pngwhich I have done with a grid system called Toast. The problem is I have linked the images directly within the php file like so:
<div class="grid"> <div class="grid__col grid__col--2-of-6"> <img src="unnamed-3.jpg" alt="" /> </div> <div class="grid__col grid__col--3-of-6"> <img src="unnamed-5.jpg" alt="" /> </div> <div class="grid__col grid__col--3-of-5"> <img src="unnamed-1.jpg" alt="" /> </div> </div>
However, I would like it to be a little less “manual” and make it so the three images are 3 attachments from the post/page.
Forum: Themes and Templates
In reply to: Display posts by weekI found this code, which seems to be working. The only problem is the pagination doesn’t seem to be working! Any ideas?
<?php $week = date('W'); $year = date('Y'); $args=array( 'w'=> $week, 'year'=> $year, 'post_type' => 'post', 'post_status' => 'publish', 'posts_per_page' => -1, 'caller_get_posts'=> 1 ); $my_query = null; $my_query = new WP_Query($args); if( $my_query->have_posts() ) { echo 'List of Posts for year '.$year . ' week '.$week; while ($my_query->have_posts()) : $my_query->the_post(); ?> <p><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></p> <?php endwhile; } wp_reset_query(); // Restore global post data stomped by the_post(). ?>
Forum: Fixing WordPress
In reply to: Images in subdomainResolved! Making my subdomain document root /public_html/wp-content/uploads worked for me!
Forum: Fixing WordPress
In reply to: Images in subdomainit’s not picking up that i put img.mydomain.com and disregards that making all new uploads go to a file it creates called ‘images’. Does anyone have any ideas??
Forum: Fixing WordPress
In reply to: Moving my title graphicadding
margin-left: -100px;
to the image should do the trick..Forum: Themes and Templates
In reply to: add a class to every second and third postwow, thank you so much! It works like a dream!
Forum: Themes and Templates
In reply to: Gaps between post columnsWell i managed to fix it by using tables.
I used this:
https://forum.bytesforall.com/showthread.php?t=1288Forum: Themes and Templates
In reply to: post quoteI did it by using a custom field ??
as simple as that!Forum: Plugins
In reply to: Instagram gallery widgetI can’t seem to figure it out.
Forum: Themes and Templates
In reply to: Posts in 2 columnsthank you so much! The second one worked like a dream! The only problem is I don’t need to minus cat5 anymore. how would i update the code?
Forum: Themes and Templates
In reply to: Posts in 2 columnsHere’s the full template code: https://pastebin.com/ppv5ht4C
Forum: Themes and Templates
In reply to: Where to put QR code link?You need to make it a widget. Go to the appearance – widgets and choose text/html and insert it there, that should work!