What is making these links open as new windows?

Probably some javascript that targets those links and makes them open as new windows. Try running the page with javascript disabled and see if they behave the same. You can also try adding target=”_self” to the a-tags, although this might be overridden by javascript.

Thesis RSS hook?

The frustrating thing about this problem (since the RSS subscribe menu item appears by default) is that the option to disable it is only visible when using the “Thesis Nav Menu” – which is now disabled by default, in favor of the WP nav menu system. If you go to Thesis Site Options -> Navigation … Read more

Display category tree of a post in search results

i am missing some details but here is the code for this string “category level 1-> level 2 -> level3″… i also included the search term as the title and the loop around it.. <h1><?php echo ‘Search Results For:’. get_search_query(); ?></h1> <ul> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <?php $category = get_the_category(); … Read more

HTML in PHP problem [closed]

You get the error because you try to call php inside php. Try to use this snippet and see what is different: <?php if(get_field(‘post_image’)) { echo ‘<img src=”‘. get_field(‘post_image’) .'” />’; } else { echo ‘<img src=”‘ . get_bloginfo(‘template_url’) . ‘/images/images/default.jpg” />’; } ?> Also pay attention that bloginfo immediately prints value, when get_bloginfo returns … Read more

How to display child page from specific parent page in homepage?

This should do it. <?php $pages = get_pages(‘child_of=199’); foreach($pages as $child) { ?> <h3><?php echo get_the_title($child->ID); ?></h3> <?php // This next line gets the full page of content // echo get_post_field(‘post_content’, $child->ID); // This next line will cut the content off at 450 letters // With a read more link under it echo ‘<p>’ . … Read more