append links with unique number string

you should probably create a CPT with hierarchical structure like pages and support for categories and tags if needed. Once you have it each story can be a “main” page and each update its child. You might need to decide how to generate RSS and email updates for it if it is required. Another alternative … Read more

How To Customize Position of »add to cart« of WooCommerce on Product Page [closed]

You can do what you want by hooking into the woocommerce_single_product_summary action. The action is executed inside content-single-product.php like this: <?php /** * woocommerce_single_product_summary hook * * @hooked woocommerce_template_single_title – 5 * @hooked woocommerce_template_single_price – 10 * @hooked woocommerce_template_single_excerpt – 20 * @hooked woocommerce_template_single_add_to_cart – 30 * @hooked woocommerce_template_single_meta – 40 * @hooked woocommerce_template_single_sharing – … Read more

Pagenav Not appearing on custom Template

Your navigation function seems to take data from main query (global $wp_query) variable. However what you have on custom page is a completely separate query (new WP_Query()), which doesn’t modify main one (as it shouldn’t). The best way would probably be to modify your pagination function to optionally accept custom query object as argument to … Read more

Pagination on Custom Loop

function dot1_get_nav(){ if ( get_next_posts_link() || get_previous_posts_link() ) { ?> <nav class=”dot1-navigation clearfix”> <?php if ( get_next_posts_link() ) { ?> <div class=”alignleft”> <?php next_posts_link( __( ‘&larr; Older Entries’, ‘dot1’ ) ); ?> </div> <?php } ?> <?php if ( get_previous_posts_link() ) { ?> <div class=”alignright”> <?php previous_posts_link( __( ‘Newer Entries &rarr;’, ‘dot1’ ) ); ?> … Read more

Using existing widget code! [closed]

It depends entirely on the license of theme you’re intending to make a derivative work of. You’ll find a related debate on wordpress.org here: http://wordpress.org/support/topic/theme-licensing …and another individuals cumulative research on the matter here: http://bloggingexperiment.com/is-blogging-experiment-breaking-the-law Additionally, here’s an example of the a web designer legitimately modifying a premium theme on Theme Forest and reselling it … Read more