Real Case for [Link] in PHP
-
Hi, I try to integrate the Gamipress Link in my theme PHP code for hours. But none seems to be working.
Could you highlight me a bit in which part that I did wrong? I may be useful for other forum members.
So I ran a job-board theme, this is the original code:
<div class=”job_application application”>
<?php do_action( ‘job_application_start’, $apply ); ?>
<?php esc_html_e( ‘Apply for job’, ‘workscout’ ); ?></div>I try to add the ID and Gamipress link in the class like this.
<div id=”apply-link” class=”gamipress-link job_application application”>
<?php do_action( ‘job_application_start’, $apply ); ?>
<?php esc_html_e( ‘Apply for job’, ‘workscout’ ); ?></div>But it is not working. I already set up the maximum earning to 0, and the ID identifier to match the div id.
I also tried to implement the same insert of ID and class to this line of codes, but not working also:
<p><?php esc_html_e( ‘To apply for this job please visit’, ‘wp-job-manager’ ); ?> <div id=”apply-link” class=”gamipress-link”>
url ); ?>” rel=”nofollow”><?php echo esc_html( wp_parse_url( $apply->url, PHP_URL_HOST ) ); ?>.</div></p>
—-
Thank your for your time and consideratino!
The page I need help with: [log in to see the link]
- The topic ‘Real Case for [Link] in PHP’ is closed to new replies.