PHP - Moved: Hard Code To Dynamic In Wordpress Function
This topic has been moved to PHP Applications.
http://www.phpfreaks.com/forums/index.php?topic=307486.0 Similar TutorialsThis topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=333014.0 This topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=352987.0 This topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=343263.0 This topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=349156.0 This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=328677.0 Hey guys, I am new here to this forum as well as web development.
I have created my first website which is pier36nyc.com
My only problem so far is trying to make the events page dynamic.
http://pier36nyc.com/events/
If you take a look at the events page, there is a gallery of pictures which display a title, caption, an image, and a button link when you hover above it.
The problem is, all of that is static for now. The code for that is on my 'Pages' section where I just HTML everything in there. I also used JQuery for the hover effect.
How do I make this gallery dynamic so that when a user wants to create a block, there will be a tool (which I think I will have to create through PHP, which I need help from you guys) that allows the user to input the desired Title, Caption, Image, and Link to that block.
The problem is: I have very minimal knowledge in PhP. I'm interning right now and learning everything all at once. I'm losing my mind right now >_<
I know it's not as complicated as I try to make it sound. But I'm just stressed out
Can someone please help me out?
I would greatly appreciate it..
Edited by mac_gyver, 22 October 2014 - 11:55 AM. fixed title This topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=310048.0 This topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=358684.0 This topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=314030.0 This topic has been moved to Third Party PHP Scripts. http://www.phpfreaks.com/forums/index.php?topic=334215.0 This topic has been moved to Other Libraries and Frameworks. http://www.phpfreaks.com/forums/index.php?topic=327275.0 This topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=311671.0 This topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=314808.0 This topic has been moved to HTML Help. http://www.phpfreaks.com/forums/index.php?topic=327763.0 I'm looking for a function that replaces user provided text blocks with code. I love the way wordpress handles shortcode and figured it would be easy to google and find a tutorial for doing the same thing outside of wordpress. But I'm not having much luck. Maybe I just don't know what terms to google. For those not familiar with Wordpress shortcode, here is a simple example: the user is creating their page using a wysiwyg editor. They want to insert a pedigree so they type [pedigree id=20] and when the page is displayed on the frontend, the "[pedigree id=20]" is replaced with the html to display the pedigree. I'll need to create about 20 different shortcodes with id (and possibly other/multiple) attributes. When googleing I found a few people wanting to do the same thing but the answers they got were just to use functions and to have the user type in some php. Knowing my users, that's not going to work. I need super easy, wordpress style, shortcode. I'm not looking for someone to type the code for me, just to point me in the right direction. Worse comes to worse, I'll try to extract the class/function from wordpress, but that might take me awhile since oop code still confuses me This topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=334084.0 This topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=351799.0 This topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=318784.0 This topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=306092.0 This topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=350210.0 |