Link "page links to" to a shortcode(modal popup)
-
Hey there
First of all, I need to say that im not great with codes and my knowledge within wordpress is very limited. So please do understand if im completely off track!I’ve got a blog i’m working with on my localhost. At the top of the page iv’e got a horizontal menu with a few links. One of them is a “subscribe” link. I simply want this link to link to a modal popup (Easy modal plugin) which i have set up together with a newsletter form (Newsletter plugin).
Basically, as soon as someone clicks on the “Subscribe” menu link, i want the modal window to popup with the newsletter subscription form.
The form and popup works fine as long as I apply the shortcode to to an image link, like this:<a href="#" class="eModal eModal-1"><img style="border:none;" src="https://localhost/wordpress/wp-content/uploads/2011/10/subscribe_test.png" alt="" /></a>
Unfornately, i need this to work on a text link since the menu is all just text. The issue is, i can’t seem to find the codes for the menu to edit anywhere! I’ve looked through all the files in the editor but still can’t find them. Im not sure why, could this have to do with the fact that the theme was created in Artisteer?
My logic is that i should simply be able to find the codes for the main menu links, and just redirect the “subscribe” code the same way as done with the image above. However, since i can’t seem to find the codes for the link, is there other way i could just make the “Subscribe” link from the menu link to the modal popup?
I have installed a plugin called “Page links to” to do this, it simply adds a redirect field under “Edit pages”, could it be possible to do it this way? If so: what would i type in the field to make it link to the modal popup?
Sorry if my questions are many and confusing, i thought id add as much as i can to make it easier for you to help me and understand my situation.
Thank you!
F
- The topic ‘Link "page links to" to a shortcode(modal popup)’ is closed to new replies.