creativemanner
Forum Replies Created
-
Thanks, Can’t wait. Also, the email notification with fields and attachment link to file would be really nice
Fixed. Thanks, Farah. The problem was my theme is stripping the empty p tags, that’s why I couldn’t see the notification. I would recommend changing that to a div tag. for the next update.
- This reply was modified 8 years, 11 months ago by creativemanner.
Whenever I need to add an extra field, I need to delete all and create the fields again.
Thanks Jonathan, that worked on the tax pages fine.
Would it be too much to ask how can I set these header as following;
Like I said, I am using a custom post archive file called resource-archive.php
I would like to show;
if it is a resource post archive page …com/resources
Title is Resources
if this is a tax1 (resource-topic) page …com/resources/resource-topic/termname
Title is That Termname
if this is a tax2 (resource-type) page …com/resources/resource-type/termname
Title is That Termname
if this is a tax1 (resource-topic) page and also tax2(resource-type) …com/resources/resource-topic/termname/resource-type/termname (which is what we figured)Is there a logic you can share ith me to resolve my week long frustration? 🙂
Thanks for all your help again.
here are the screens with the errors. it works but errors, funny 🙂
http://take.ms/RwLDH
http://take.ms/M7dDH
http://take.ms/cUkLO- This reply was modified 8 years, 11 months ago by creativemanner.
- This reply was modified 8 years, 11 months ago by creativemanner.
no I did that; here is the full snippet i am using
<?php global $wp_query; $terms = array(); if ( isset( $wp_query->query['resource-topic'] ) ) { $terms[] = array( 'tax' => 'resource-topic', 'term' => $wp_query->query['resource-topic'] ); } if (isset( $wp_query->query['resource-type'] ) ) { $terms[] = array( 'tax' => 'resource-type', 'term' => $wp_query->query['resource-type'] ); }else{ } ?> <?php if ( ! empty( $terms ) ) { ?> <header class="archive-header"> <?php for ( $i = 0; $i <= count( $terms ); $i++ ) : $term_object = get_term_by( 'slug', $terms[ $i ]['term'], $terms[ $i ]['tax'] ); if ( $i == 0 ) { echo sprintf( '<h1 class="page-title lined">%s</h1><div class="taxonomy-description">%s</div>', $term_object->name, $term_object->description ); } else { echo sprintf( '<h4 class="archive-header-subtitle">%s</h4><p class="archive-header-subdescription">%s</p>',$term_object->name, $term_object->description ); } endfor; ?> </header> <?php } ?>I am running this on archive-resource.php
note that my taxs are, resource-topic and resource-type, not tax1 tax2 (was trying to give an example)
ok,
echo sprintf( '<h2 class="archive-header-subtitle">%s</h2><p class="archive-header-subdescription">%s</p>',$term_object->name, $term_object->description );giving error: NOTICE: TRYING TO GET PROPERTY OF NON-OBJECT IN …
and
$term_object = get_term_by( 'slug', $terms[ $i ]['term'], $terms[ $i ]['tax'] );giving error: NOTICE: UNDEFINED OFFSET: 2 IN …
let me give it a try, thanks man.
This did the trick 🙂
<script> window.paceOptions = { ajax: false, restartOnPushState: false }; </script>Thanks for the tip, now nothing loads on initial load and when I click load more, it trigers the pace again. 🙁
Hi David, I tried that but no luck, here is the page I am talking about http://pcicreative.com/blog/ . You ll see the white background and loading on red progress bar top going twice on initial land. also, it does on each time when you click load more. any help would be great man.
Thanks, love your work
Forum: Plugins
In reply to: [AI Twitter Feeds (Twitter widget & shortcode)] Error when activatingI am having the same problem I am using http://codecanyon.net/item/easy-social-share-buttons-for-wordpress/6394476 and they are using the “OAuth” as well. dont want to disable tis or their plug in, so what do you think i should do?
Forum: Plugins
In reply to: [Campaign Monitor Ajax Forms] Can you give an example of the shortcode?Is is realy hard to output a code here, I mean I cant fix the button i dont need that at all, All I need is a code sample. Can you create one on your demo editor and post here so I know what it looks like. I NEED TO ADD IT MANUALLY. Thanks
Forum: Plugins
In reply to: [Campaign Monitor Ajax Forms] Can you give an example of the shortcode?I dont think you understand what i am asking. I cant use the button so i just need the shordcode sample created by that button like [myshortcode key=”2673848″ api=”whatever”] . Am I clear now?