Forum Replies Created
-
AuthorPosts
-
treenaoMember
1) If I just want to pull the CPT, do I do this then?
add_action( 'pre_get_posts', 'add_cpts_to_archives' );
function add_cpts_to_archives( $query ) {if ( $query->is_main_query() && !is_admin() && is_tag() ) {
$query->set( 'post_type', array( ''CPT' ) );
}}
2) Do I add this to my child theme's functions file? Or do I add it to the custom archive template for the CPT that I created?
June 3, 2015 at 11:52 am in reply to: Agency Pro Primary and Secondary Sidebar Aside not disappearing #154734treenaoMemberI didn't add custom blog template. But you know what's so weird. But I deleted the theme, then re-installed it and the error went away. *shrugs*
Thanks anyway Erik!
June 3, 2015 at 11:41 am in reply to: Agency Pro Primary and Secondary Sidebar Aside not disappearing #154726treenaoMemberJune 3, 2015 at 11:06 am in reply to: Agency Pro Primary and Secondary Sidebar Aside not disappearing #154719treenaoMemberThe blog page template specifically, the one that's default. It's so strange. Because in Firebug, I can see that there are these classes that I have no idea how to remove:
<aside class="sidebar sidebar-primary widget-area" role="complementary" itemscope="itemscope
itemtype="http://schema.org/WPSideBar"></aside><aside class="sidebar sidebar-secondary widget-area" role="complementary" itemscope="itemscope
itemtype="http://schema.org/WPSideBar"></aside>February 13, 2015 at 2:38 pm in reply to: Text on Genesis Sandbox Featured Content widget cut-off on mobile phone #140751treenaoMemberI figured it out! And the fix Porter recommended DID work. I just needed to refresh the cache! Silly me!
February 10, 2015 at 4:38 pm in reply to: Text on Genesis Sandbox Featured Content widget cut-off on mobile phone #140393treenaoMemberHi Porter,
I tried it, but it's still not working 🙁 I don't know what's going on because the exact same widget that's in the widget area below is showing up fine on iPhones and smaller devices. What am I doing wrong?`/* Featured Content
--------------------------------------------- */.daily-dish-home .entry,
.daily-dish-authorproj .entry,
.sidebar .featured-content .entry {
margin-bottom: 30px;
}.before-footer-widgets .featuredpost .entry {
display: inline-block;
max-width: 180px;
margin-bottom: 10px;
vertical-align: top;
}.before-footer-widgets .featuredpost h2 {
font-size: 16px;
}.daily-dish-home .entry-content p:last-child,
.daily-dish-authorproj .entry-content p:last-child{
margin-bottom: 0;
}.home-bottom,
.home-middle,
.home-top,
.authorproj-bottom,
.authorproj-middle,
.authorproj-top{
overflow: hidden;
}.home-middle,
.home-top,
.authorproj-middle,
.authorproj-top{
margin-bottom: 40px;
}.home-middle .featuredpost .entry{
float: left;
width: 100%;
}.authorproj-middle .featuredpost .entry{
width: 100%;
}.featured-content .entry ~ .widget-title {
clear: both;
}.featured-content .entry ~ .widget-title + ul li {
border: none;
width: 100% !important;
padding: 0;
}.home-middle .featured-content .alignnone,
.authorproj-middle .featured-content .alignnone{
margin-bottom: 32px;
}.home-bottom .featured-content .entry-title,
.home-middle .featured-content .entry-title,
.authorproj-bottom .featured-content .entry-title,
.authorproj-middle .featured-content .entry-title{
font-size: 24px;
}.home-middle .featured-content .entry:nth-of-type(2n+1),
.authorproj-middle .featured-content .entry:nth-of-type(2n+1){
clear: left;
margin-right: 40px;
}.home-bottom .featured-content .entry,
.authorproj-bottom .featured-content .entry,
.sidebar .featured-content .entry {
border-bottom: 1px dotted #ddd;
}.sidebar .featured-content .entry:last-child {
margin-bottom: 0;
} -
AuthorPosts