carlosgonca
Forum Replies Created
-
Forum: Plugins
In reply to: [PagSeguro Parceled for WooCommerce] Atualiza??oTambém estou com dificuldade, n?o aparece internamente na área onde devia aparecer, e na hora do pagamento, o campo até aparece, mas sem aparecer op??o nenhuma,meio travado.
Thanks, Padilha and Joe for your help!
I start putting the content. When I try to put the correct date, nothing happens, all freeze in screen.
Forum: Plugins
In reply to: [WP Customer Area] Private page short codeWhy does it have category file if I can put all of them in one page? Is it not possible? I want to put all in Costumer Area Page.
Forum: Plugins
In reply to: [Promotion Slider] [Plugin: Promotion Slider] Customizing excerpt contentgreat plugin, my friend! Thank you!
Forum: Fixing WordPress
In reply to: current_page_item –> on single post, category and archiveOk, but it′s not happening, only in page, not in post or archive (categories) page. And I′m using the same css for both.
Forum: Plugins
In reply to: [Promotion Slider] [Plugin: Promotion Slider] Customizing excerpt contentAre there a way to put link in excerpt too?
Forum: Fixing WordPress
In reply to: current_page_item –> on single post, category and archiveI tried to use it
function add_parent_url_menu_class( $classes = array(), $item = false ) { // Get current URL $current_url = current_url(); // Get homepage URL $homepage_url = trailingslashit( get_bloginfo( 'url' ) ); // Exclude 404 and homepage if( is_404() or $item->url == $homepage_url ) return $classes; if ( strstr( $current_url, $item->url) ) { // Add the 'parent_url' class $classes[] = 'current-menu-item current_page_item'; } return $classes; } function current_url() { // Protocol $url = ( 'on' == $_SERVER['HTTPS'] ) ? 'https://' : 'https://'; $url .= $_SERVER['SERVER_NAME']; // Port $url .= ( '80' == $_SERVER['SERVER_PORT'] ) ? '' : ':' . $_SERVER['SERVER_PORT']; $url .= $_SERVER['REQUEST_URI']; return trailingslashit( $url ); }
from this site – https://bloke.org/php/highlighting-current-page-in-wordpress-menus/
but to me, I didn′t have any results
Forum: Fixing WordPress
In reply to: current_page_item –> on single post, category and archiveI have the same problem and I don′t know how can I fix it. Did you find any solution?
Thanks a lot!
I′m using a plugin called supersized, that I put images direct in folder, so It doesn′t pass in media library, how can I use smush.it with it?
Forum: Plugins
In reply to: [Plugin: WP ImageHost] My page had database broken after unistallTake care of this plugin…. I lost my database and have to do again many parts of my site.
Forum: Hacks
In reply to: show posts of a subcategoriesThis solution didn′t run, It shows all posts with text and in a confusion way. I try to do something: after the code and before <?php endif; ?> I have to put other <?php else: ?> <if ($childcat)…. or some like that but all time I get error. It didn′t accept a new <?php else: ?>, but I′ve already have <?php else: ?> without problems, why one more I′ts not permitted?
Forum: Hacks
In reply to: show posts of a subcategoriesI want to show the subcategories with the name and a thumbnail, like I did. So I started with gallery option. After that if you click in one of this categories, you see all posts/products from this subcategories. And when you click in one of them, you go to the single post of this product.
Forum: Hacks
In reply to: show posts of a subcategoriesYes, but when you click in one of these categories, you go to a page where can see all products about that categories. So if you click in one of them, you go to the single post of this product.
Forum: Hacks
In reply to: show posts of a subcategoriesI′m using twenty eleven like parent theme.
I have a category.php file to start the loop so, goes to content-category.php
In this second file I put the code
<?php foreach((get_the_category()) as $childcat) { if (cat_is_ancestor_of(12, $childcat)) { echo '<span class="cat-links"><h3 class="entry-title"><a href="'.get_category_link($childcat->cat_ID).'">'; echo $childcat->cat_name .'</a></h3></span>'; echo '<div id="thumb-category"><a href="'.get_category_link($childcat->cat_ID).'">'; echo do_shortcode('[types field="imagem-1" alt='.($childcat->cat_ID).' title="'.get_category_link($childcat->cat_ID).'" size="thumbnail" align="none"]') . '</a><div>'; }} ?> <?php endif; ?>
And the subcategory are showing as I want, The title and a photo. But after this, I can′t only goes to subcategory page, not to a single post of one of them. My two files are in a zip for anyone want help me. Thanks a lot: https://www.ashermedical.com/site/asher-category.zip