<a class="brun-btn" href="<?php echo esc_url( add_query_arg( 'pdf', $post->ID ) );?>" target="_blank"> <?php echo wp_kses_post($pdfbutton_text);?></a>
Unfortunately the button becomes higher than my other instances of “brun-btn” – i have tried making a special css for this button – setting padding to 0 – but the button insists on having a fixed heigth
]]><a href="https://www.google.com/" target="_blank" rel="noopener"><button class="button">Click to DOWNLOAD</button></a>
OR
<a href="https://www.google.com/" target="_blank" rel="noopener" class="button">Click to DOWNLOAD</a>
CSS:
.button {
background-color: #4CAF50; /* Green */
border: none;
color: white;
padding: 16px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
transition-duration: 0.4s;
cursor: pointer;
}
HTML:
<a href="https://www.google.com/" target="_blank" rel="noopener"><button class="button">Click to DOWNLOAD</button></a>
OR
<a href="https://www.google.com/" target="_blank" rel="noopener" class="button">Click to DOWNLOAD</a>
I checked this and both working fine in wordpress. Is this valid/safe? Also, which one I should use? More optimal?
]]>Thanks in advance!
]]>Thanks.
P.S. I’m sorry. I just found it out by myself. I thought I’ll need some specific theme’s code for what I wanted to do but I guess I won’t.
]]>I have completed all of the sections, disabled and re-enabled the plugin (v1.3.9) and it’s still the same.
Anyone else have this problem? I cannot use it if no-one can submit anything.
Also, the “share with friends” section has two tiny little dots for the Facebook and Twitter links.
Using TwentySeventeen theme. It works on other themes just not this one….
]]>Is there a way to have a css button using the [print-me] shortcode?
Here is the website: https://www.pray440.com
Just a button. No icon. Just text.
Thank-you.
https://www.ads-software.com/plugins/print-o-matic/
]]>https://www.ads-software.com/plugins/responsive-menu/
]]>I wanted to add the previous/next post link in the same category – like
<?php previous_post_link(‘? %link’, ‘%title’, TRUE); ?> – did that through single.php and is working perfectly but i want to use that inside a button.. so i have the css code for the button and i pasted that in style.css but i really can’t find a way to make it work within the signle.php. Is there a way?
At the bottom of each Post-Page there are red buttons with white text inside, to navigate to the prior and next posts.
– I need to keep that text within the button white/as is.
– I need to know the code to specifically make(keep) that text white, while I make changes to links.
Post-Page:
https://toni-english.com/blog/parts-of-speech-quick-reference/
I don’t understand CSS well enough to pinpoint it – if possible.
There are several similar red buttons on the home page – NO problems with any of those. They do not change with what I am doing.
https://toni-english.com/