change src attribute of shortcode based on user click
-
Hi,
I am very new to webpages development in WordPress.
Scenario: list of thumbnails -> client clicks on a thumbnail -> opens a page with embedded pdf.
Approach: Crated a page with shortcode to embed pdf. I am sending query string of the pdf file location to this page.
Problem: Not understanding how to set the src attribute in shortcodeAny suggestions are greatly appreciated. What things I need to know to solve this problem.
thanks.
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘change src attribute of shortcode based on user click’ is closed to new replies.