Quote (iBecameLegend @ Oct 12 2014 08:16am)
Im on a mac

From firebug:
Code
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title>Fashion - Athletes - Music | Fashion – Athletes – Music</title>
<link href="http://gmpg.org/xfn/11" rel="profile">
<link href="http://localhost:8888/wordpress/xmlrpc.php" rel="pingback">
<link href="http://localhost:8888/wordpress/?feed=rss2" title="Fashion - Athletes - Music » Feed" type="application/rss+xml" rel="alternate">
<link href="http://localhost:8888/wordpress/?feed=comments-rss2" title="Fashion - Athletes - Music » Comments Feed" type="application/rss+xml" rel="alternate">
<link id="siteorigin-google-web-fonts-css" media="all" type="text/css" href="http://fonts.googleapis.com/css?family=Montserrat&ver=4.0" rel="stylesheet">
<link id="influence-style-css" media="all" type="text/css" href="http://localhost:8888/wordpress/wp-content/themes/influence/style.css?ver=4.0" rel="stylesheet">
<script src="http://localhost:8888/wordpress/wp-includes/js/jquery/jquery.js?ver=1.11.1" type="text/javascript">
<script src="http://localhost:8888/wordpress/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1" type="text/javascript">
<script src="http://localhost:8888/wordpress/wp-content/themes/influence/js/jquery.fitvids.min.js?ver=1.0" type="text/javascript">
<script src="http://localhost:8888/wordpress/wp-content/themes/influence/js/jquery.theme-main.min.js?ver=1.0.6" type="text/javascript">
<link href="http://localhost:8888/wordpress/xmlrpc.php?rsd" title="RSD" type="application/rsd+xml" rel="EditURI">
<link href="http://localhost:8888/wordpress/wp-includes/wlwmanifest.xml" type="application/wlwmanifest+xml" rel="wlwmanifest">
<meta content="WordPress 4.0" name="generator">
<meta content="width=device-width, initial-scale=1, user-scalable=no" name="viewport">
<style id="custom-background-css" type="text/css">
<style id="fit-vids-style">
</head>
<body class="home blog custom-background responsive menu-overlap">
<div id="page" class="hfeed site">
<header id="masthead" class="site-header has-shadow" role="banner">
<div class="container">
<div class="hgroup">
<h1 class="site-title">
<a rel="home" title="Hospital – Church – Music" href="http://localhost:8888/wordpress/"> [B]Hospital – Church – Music[/B] </a>
</h1>
</div>
<nav class="site-navigation main-navigation primary" role="navigation">
</div>
</header>
<div id="under-masthead-slider">
<div id="main" class="site-main">
<footer id="colophon" class="site-footer" role="contentinfo">
</div>
<div id="main-menu">
<link id="sow-slider-base-826c62ea08b4-css" media="all" type="text/css" href="http://localhost:8888/wordpress/wp-content/uploads/siteorigin-widgets/sow-slider-base-826c62ea08b4.css?ver=4.0" rel="stylesheet">
<link id="sow-slider-slider-css" media="all" type="text/css" href="http://localhost:8888/wordpress/wp-content/plugins/so-widgets-bundle/widgets/so-slider-widget/css/slider.css?ver=1.0.5" rel="stylesheet">
<script src="http://localhost:8888/wordpress/wp-content/plugins/so-widgets-bundle/widgets/so-slider-widget/js/jquery.cycle.min.js?ver=1.0.5" type="text/javascript">
<script src="http://localhost:8888/wordpress/wp-content/plugins/so-widgets-bundle/widgets/so-slider-widget/js/slider.min.js?ver=1.0.5" type="text/javascript">
</body>
</html>
Now I want the "Church - Hospital - Music" to each be linked to a category. Example: If you click on "Music" you will be linked to all the posts that have been posted under the category "music"
I usually just do a grep in terminal when im trying to hunt down which file has the html i want to change.
so you'd just do something like
Code
grep -RH 'class="site-title"' ./path_to/theme_dir
and that'll show you the path to the file containing the match
then once you've found the file, you'll need to call the wp api to create links to specific categories / tags
http://codex.wordpress.org/Function_Reference/get_category_linkThis post was edited by SelfTaught on Oct 12 2014 10:22am