Hi there,
This sounds like a Gigpress-specific question, but actually may be a general php question (I'm new to both.)
Anyway, Gigpress calls the artist's name with this code:
There are several php files that make gigpress work. (All of these in fact:
[[LINK href="http://cl.ly/65b3130a3705250915eb"]]http://cl.ly/65b3130a3705250915eb[[/LINK]])
The sidebar-list.php file is what displays the artist's shows in this repeatable format (if they have multiple upcoming shows): [[LINK href="http://cl.ly/313aa82cc97b167a53ff"]]http://cl.ly/313aa82cc97b167a53ff[[/LINK]]
The sidebar-list-start.php file displays the artist's name and the header which reads "EVENTS" and precedes sidebar-list.php.
My question is this: When I have this code: in sidebar-list.php, it successfully pulls the artist's name. However, then it also repeats the artist's name (if there is more than 1 show) which is a problem. But when I put the exact same code into sidebar-list-start.php (which doesn't repeat) it no longer works. Why? and how can I fix this?
So really that needs to go into sidebar-list-start.php. However, when I paste that same code (this code: ) into sidebar-list-start.php, it fails to call the artist's name. There are two other dynamic things in this file as well- the code to call the url to the rss feed and the ical button. Those things both work in the environment of the sidebar-list.php file, but not in the environment of the sidebar-list-start.php file.
Does that make sense? I am pasting the full code for each of these php files down below. Why would the php code work in one file and not the other?
Thanks
Kelli
So this is the current code and this is what it looks like: [[LINK href="http://cl.ly/f7d90332cc7460051282"]]http://cl.ly/f7d90332cc7460051282[[/LINK]]
Where it says "Artist Name" it should actually be calling the artist's name, but isn't.
sidebar-list-start.php code:
events
Artist Name
sidebar-list.php code:
- Time:
- .
- Admission:
- $.
- Age restrictions:
- Address:
phone: . .
Solution - 1
to ensure that showdata has this name just pastate thsi code into sidebar-list-start.php
very posible that you just need to ask this aviable in some other way...
Solution - 2
Hello,
use this code ( ID, $key, true); ?> ) instead of .
ID, $key, true); ?>
Waiting for result ;)
|