vyww
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: how to change 'read more'Thanks for getting back to me! I have uploaded the page template here.
I don’t think
the_content()is being used? I did not see it.Hi! Glad you hear you solved it! How did you manage to do it? I searched policy permission in AWS’ support page but nothing helpful came up.
Forum: Themes and Templates
In reply to: comment link background disappearedOh. Oh my that was really silly of me. Thank you for being so patient! 🙂
Forum: Themes and Templates
In reply to: comment link background disappearedIn my child theme
Forum: Themes and Templates
In reply to: images side by side in divHi, sorry to trouble you again, but what would you suggest regarding the header.php?
Forum: Themes and Templates
In reply to: add space under the side by side imagesThank you for the advice! I have made a new topic here.
Forum: Themes and Templates
In reply to: add space under the side by side imagesHello, sorry to bother you! I’m hoping you would be able to help me with this again; I’ve been asking around but there wasn’t conclusive answers. I recently added this to my functions.php in order to wrap my images in a div – had to do this because it seemed like the only way to style images to have a different width from the text in the content.
<?php function breezer_addDivToImage( $content ) { // A regular expression of what to look for. $pattern = '/(<img([^>]*)>)/i'; // What to replace it with. $1 refers to the content in the first 'capture group', in parentheses above $replacement = '<div class="image">$1</div>'; // run preg_replace() on the $content $content = preg_replace( $pattern, $replacement, $content ); // return the processed content return $content; } add_filter( 'the_content', 'breezer_addDivToImage' ); ?>But now the
<p class="halfeach">doesn’t work anymore, and I’ve managed to fix it with a combination of adjusting the widths and the CSS:.alignright { float: right; margin: 0 0 50px 0; display: inline-block; } .alignleft { float: left; margin: 0 0 50px 0; display: inline-block; } a img.alignright { float: right; margin: 0 0 50px 0; display: inline-block; } a img.alignleft { float: left; margin: 0 0 50px 0; display: inline-block; clear: both; } #page-container .image { margin: 7px 0px !important; }However, the space disappears like before (example post here.
Is it possible to have a variation of the solution like before? That was great 🙂
Thank you so much for your help! 🙂
Forum: Themes and Templates
In reply to: how to center dateAhh works perfectly! Thank you!
Forum: Themes and Templates
In reply to: how to center dateSorry what do you mean?
Forum: Themes and Templates
In reply to: images side by side in divI’m afraid I have no idea, but my header.php is here.
Forum: Themes and Templates
In reply to: images side by side in divYeah I do
Forum: Themes and Templates
In reply to: images side by side in divYep that’d be great!
Forum: Themes and Templates
In reply to: images side by side in divThere’s a test post here. Thank you!
Forum: Themes and Templates
In reply to: images side by side in divThe
<p class="halfeach">is not applied to the images.Forum: Themes and Templates
In reply to: images side by side in divSorry I’m not too sure how to do that, could you tell me the steps? Thank you!