Grid View Layout for images in the wordpress - php

I have many page in my website, but in one of my page, I am adding only images. Now I want to display this images in a grid view something similar to this site SITE . How can achieve that? And also right now all the images have link attached to it. If user click on any image, respective site will loaded, but problem is how to load those site in new tab?. As of now they are getting loaded in same tab in which I am clicking on images.
Please help me solves this problem, as I'm beginner in wordpress.
Thank you

It looks like the most efficient way to solve your problem is by using some plugins which are freely available to download and use.
Here is one such plugin, wordpress plugin link which solves your both the problems.
Just login has as Admin to word press on your website, download the plugin and activate it. You can follow rest of the instructions how to use this plugin as given in the source site.

hi list all images in table view so it's look like nice formatting and for open link in new tab please try this click here
Read this for more details
http://www.w3schools.com/html/html_links.asp

Related

What is the best way to bypass Wordpress's HTML sanitization so I can use bootstrap html in Wordpress?

I'm trying to get on developing websites on Wordpress for easier management for the future admins.
I have created a bootstrap theme on my own. I got all the pages smoothly into Wordpress and are now easy to edit. However I have this one page which has tables, buttons, glyphicons and once I click the "graphic" view while editing the page it breaks it.
So I was thinking that that won't do and I decided to create a new plugin to fix this problem. A simple plugin which has few textboxes on the admin settings page and then just prints the texts on the page where I want them to go.
However I tried to look for tutorials and I'm just overwhelmed. I have gotten my plugin to work somewhat. It has a admin setup page and it can print customized text to a page where my shortcode is. Thanks to this post!
However, I still don't know what to do from this point on.
My question is: Could you help me by giving me an example code to get the same kind of textbox to my plugin's admin page as I have while editing/adding new pages (with graphic view) which saves the text and displays it on a page.
I have no idea if this is the way to go but I can't think of anything else right now. I was thinking that the settings page has a couple of textboxes and the text in them goes where I want it to go on a page. So the future admin won't see the unnecessary html code and therefore can't break it.
I would abandon the "plugin" idea. There are several more elegant ways to do this besides writing a plugin.
By far the easiest to implement is this:
1. Store the html in a "Custom Field" https://codex.wordpress.org/Custom_Fields
2. Display the contents in your page (or post) template https://codex.wordpress.org/Custom_Fields#Displaying_Custom_Fields

Wordpress page dynamic content

i'm hoping someone can assist, with setting up a dynamic page in wordpress
We currently have thousands of images but i don't want these setup as posts, tho i still want them within the wordpress site, so I'm wondering is it possible to create a page domain.com/newpage and if accessed via domain.com/newpage?funny it would display the image funny.jpg from another directory on the server
Obviously id need to setup a custom page template which i can do but im struggling with the dynamic code bit
any help is appreciated
You can add images under Media in Admin. They would not be linked to a post but they can be used throughout the site.

how to upload profile pic for users wordpress from front end

I have tried a lot to to upload an image for each of the users in my wordpress website, I have tried a lot of plugins like user avatar,easy user image, etc but no use, all these plugins uploads user image from the dashboard. I have used profile builder to create an edit profile page but it does not have a user image upload option. Someone kindly help me.
I just found this awesome plugin for uploading a local avatar that has a front end short code: https://wordpress.org/plugins/wp-user-avatar/
i paired it with the front end short code for Profile Builder (http://wordpress.org/plugins/profile-builder/) and it worked like a charm!
I've used these two plugins successfully for this very purpose on a few sites:
Add Local Avatar: http://wordpress.org/plugins/add-local-avatar/
Theme My Login: http://wordpress.org/plugins/theme-my-login/
Using these two together will create an "edit profile" page with a user image upload feature using your site's current theme. It seems like Theme My Login "should work" with other avatar upload plugins like the ones you mentioned, but I do know for a fact it works with Add Local Avatar.
You also get a lot of control with custom edit profile pages (in T.M.L.), so you could even remove the other blanks and just have the Upload/Change user image option if you like. You also have the option to redirect user levels from the dashboard/admin area to your custom page just in case.
Anyway, I think these two plugins are exactly what you're needing. Good luck, hope this points you in the right direction.

how to write a plugin to show content under new tab in WordPress

I refereed several ebooks and web tutorials to write a plugin that meets my requirement. However, I am still unable to do it. All I found tutorials show how to render content as widget or sidebar content or modify the content.
I need to get data from database show the content in front end of the website but only on a particular page or tab in the site. Such as forum plugin can be configured to show under new tab.
In another word I need to create my own content type and display it in a tab. I think this is possible with wordpress custom content
I don't need to edit template files. Anybody has idea? thanks..

Wordpress Gallery Links

I have a Wordpress page which is showing gallery that I created by using Wordpress built-in post editor: into it here is its url: http://jalrosh.com/lylescenter/?page_id=8
Now the issue is that when I click on some image its big image opens in a new page and that is disturbing page design. It should come in the central area but it is appearing on the top of the remaining page.
There are several plugins that could help you do this. For example http://wordpress.org/extend/plugins/lightbox-2-wordpress-plugin/ I haven't used this plugin, but a wordpress plugin search for "lightbox" came with several options. Try some of them out and see what one you like best.
I haven't tried any of them but supposedly they should take any image and have it viewed via a lightbox (which is the correct term for having the image displayed over the existing page).

Categories