AmandaBergsma
Forum Replies Created
-
Hello
I figured out the problem. In the field, they where not adding the ” https://” in front of the “www.etc.com” Therefor it was not linking out correctly.
Is there a way to update the code so the display name can be different then the link?
Hello
I have set up a Custom Post type “Business Directory”
In that, I have a Custom Field I am using the “URL” one and attaching to it to see in a “Business Directory”.
In the template I am using the following code:
<b>Web:</b> <?php echo(types_render_field("website", array())); ?><br/>
I can get the like to show up and link, but like before it is already adding my domain in front of theirs.
“https://greaterthoroldbusinesscouncil.com/www.cibc.com”
instead of
“https://www.cibc.com”I have the exact same set up for the email, and that works with no problems.
Forum: Themes and Templates
In reply to: Category.php not displaying category titleHi Christine
When I try to use the default loop (and copy and paste what you suggested) three things happen.
1. The <h2><?php echo single_cat_title(); ?></h2> dose not return the current category title, but a parent category. Even if the category I select to view is not a child of the one being shown, it still shows it.
2. The bottom page navigation no longer works. The URL updates( aka page 2) but it’s the same post on every page.
3. I now only get my latest post (just one) in the Category archive, and that post is not even in the category I’m viewing.
I think I broke wordpress ??