Posts by Rodrigo • 21 points
2 posts
-
2
votes3
answers66
viewsQ: How to insert an Else to display message in case you don’t have files to upload
Code <?php $files = $obj->field('upload'); foreach ($files as $file) { $file_url = get_attached_file($file['id']); echo '<a href="' . $file["guid"] . '">' . $file["post_title"] .…
-
0
votes0
answers383
viewsQ: Can you mask the URL of your wordpress images?
When I hover over some file it shows me the full path of my site. Ex : http://localhost/portal/wp-content/uploads/sites/28/2015/04/web.jpg How to hide this path when right-clicking on the image ?…