Forum Replies Created
-
AuthorPosts
-
Hey Josue!
Check this out!
this awesome plug in did the trick!!
Quick Page/Post Redirect Plugin
Thanks again!!
Hhttp://webstrauss.com/ak/blog/
http://webstrauss.com/ak
There are some other pages as well, but I can just copy /edit the code you write . correct?
Thank you again!!Thank you Josue for your quick response.
I tried placing the above code at the bottom of my functions.php file, I cleared my cache and refreshed, and – no change…..I did change limodo.org to my URL. Additionally, I’m not sure what the significance in my case ” add_action(‘wp_footer’, ‘add_custom_target’);” is. So I tried to remove it as well, that did not work either.
I tried this nice little script as well, ( I added it with a “add to header ” plugin ) It did not work
<script>
$(document).ready(function() {
$( ‘a[href^=”http://”%5D’ )
.attr( ‘target’,’_blank’ )
.addClass( ‘external_link’ )
;
});
</script>The posts that need to open in a new tab ( some are displayed on the home page, some are on the blog page) have the “yoast” 301 redirect set to an external URL. They are blogs that the author wrote – on other sites. So while he wants to list them here with his blogs, they do need to open in a new Tab, on the site they are published.
Please Advise
Thank you again for your persistent assistance!Hello Yigit,
I don’t think this code would work for me. You see, I only need target=”_blank” IF the link is to an External URL. ( I am not a programmer, but I don’t think it will work for External link Only – correct?)
I set Some of my posts with the Yoast 301 redirect – if the post is something published in another website.
Additionally it is not clear to me Where in my functions.php file to add this type of code in.
Thank youPerhaps this code would do the trick. But where would I add it ? In functions.php? if yes, where in the file would I add it? Thank you
$(“a[href^=http]”).each(function(){
if(this.href.indexOf(location.hostname) == -1) {
$(this).attr({
target: “_blank”,
title: “Opens in a new window”
});
}
});Ok thanks – they did respond – I did get the upgrade & installed it . It fixed issues I was having
Thanks again, yup they did get back to me – and help me download
FIxed – was a broken style i added to the child theme css – thanks
I am unable to get the latest version?!?! this is what I get here:
Theme Updates
No Updates available. You are running the latest version! (3.0.8)
Check Manually
nor is the download avail to me in theme forest, even after putting in teh required info
oops sorry.
I see i made a mistake.
here is the code, a little cleaner:
I am attempting to create a basic background image change – media query, such that on smaller screens, I can load a smaller image#ak_bg {
background-image: url(‘http://webstrauss.com/ak/wp-content/uploads/2015/05/lhouse8.jpg’)!important;
}@media (max-width: 750px) {
#ak_bg {
background-image: url(‘http://webstrauss.com/ak/wp-content/uploads/2015/05/lhouse9.jpg’)!important;
}}
I added the ID #ak_bg to the field in the “color box” where you can select the background image of that particular section
Thank you again – for your prompt response
ok thank here is teh link below
Thank you Yigit!
for your quick & excellent response!!!
-
AuthorPosts