hello i know this video is very old but i was wondering is there a way to make the file clickable in order to open in a new tab and not be downloadable?
If you're getting an error along the lines of "Trying to access an array offset on value of type bool.." I was getting this error messages after adding a file, then deleting the file an updating the page. It seems php was trying to access some data that wasn't there anymore? and it was returning false? I'm just starting to learn about this, so I'm not sure but the error lines are where the variables were defined. So to fix it I added an IF statement for the variables, that fixed it. Not sure if this is the best way to do it, but it worked: if ($file = get_field('acf_field_name')){ rest of variables... } Had anyone else have this problem? Can you @Mr Digital explain what the problem is? Btw, thank you for your videos, you make it very easy to understand!
Thanks thanks. ..... also consider Post relationships in upcoming videos #ACF
3 года назад+1
"for beginners"??? Man, I have no idea what you are talking about because I am a beginner... uff. Well, I do not complain since it is a free video. But it is still a feedback. All the best to you.
Hello sir how we can dynamically download correct pdf from file custom field after contact form 7 submission based on page you're in
hello i know this video is very old but i was wondering is there a way to make the file clickable in order to open in a new tab and not be downloadable?
If you're getting an error along the lines of "Trying to access an array offset on value of type bool.."
I was getting this error messages after adding a file, then deleting the file an updating the page. It seems php was trying to access some data that wasn't there anymore? and it was returning false? I'm just starting to learn about this, so I'm not sure but the error lines are where the variables were defined.
So to fix it I added an IF statement for the variables, that fixed it. Not sure if this is the best way to do it, but it worked:
if ($file = get_field('acf_field_name')){
rest of variables...
}
Had anyone else have this problem? Can you @Mr Digital explain what the problem is? Btw, thank you for your videos, you make it very easy to understand!
thank you lots!
@@ExWest Glad it helped :)
Do you have a GIthub repository of the theme files and everything you were using in these videos? I'd like to view them if you have them! Thanks :)
with acf can i construct post directly?
I want to upload audio and 0lay in player in frontend
Thanks thanks. ..... also consider Post relationships in upcoming videos #ACF
"for beginners"??? Man, I have no idea what you are talking about because I am a beginner... uff. Well, I do not complain since it is a free video. But it is still a feedback. All the best to you.
Sorry Petr. What didn't you understand maybe I can help you?