Questions tagged [genesis-theme-framework]

The Genesis Framework is a premium parent theme / framework for WordPress. It contains the user functionality and SEO benefits that is used by free and premium child themes.

Filter by
Sorted by
Tagged with
9
votes
1answer
76k views

Display current category title on category page

Using the following code in a category template, but instead of showing the current category page that I am on, it displays the first category of the first post. For example on Food category page it ...
8
votes
2answers
8k views

Undefined offset: 0 in > […] /wp-includes/capabilities.php on line 1067

Hey I get this error messages on my localhost setup, but only with the Genesis Framework enabled; WordPress Twenty Eleven works fine. This happens when I want to create a new post. If I refresh the ...
7
votes
3answers
1k views

Any advantage of using wp_scripts and is_IE when enqueuing scripts

I read on the WP docs, which pointed to this gist that the correct way to enqueue styles for IE is by using the $wp_styles. I'm guessing that this would be true then for scripts as well. Take these ...
5
votes
1answer
1k views

Genesis - Customize search form

I wanted to change my search form a bit by adding autocomplete="off" to the search input. I initially looked for a simple filter like the following: //* Customize search form input box text ...
3
votes
2answers
3k views

Modify the post/entry wrapper markup in genesis childtheme [closed]

I feel like this should be an easily found answer but so far I havent found anything. So the genesis loop automatically wraps the posts in a div like so: <div class="post-4006 post type-post ...
3
votes
1answer
591 views

Genesis Child and Custom Post Type

I'm working on Custom Post Type and Genesis Child Theme. My code is add_action( 'init', 'register_cpt_testimonial' ); function register_cpt_testimonial() { $labels = array( 'name' =>...
3
votes
1answer
5k views

Create a Widget Area in the Navigation Bar for the Genesis Theme Framework?

(Moderator's note: The original title was "How can I create a widget area in the navigation bar (Genesis specific)?"( I'm trying to create a widget area in my navigation bar. I'm attempting to adapt ...
3
votes
3answers
4k views

Change Genesis <title> Tag from Page Template [closed]

I have made a page template for a Genesis theme in which I want to change the <title> tag but I can't find any API reference or example to do this. Does anyone have any idea how to do this?
3
votes
4answers
7k views

Using Custom Templates for Custom Post Types for the Genesis Theme Framework?

(Moderator's note: The original title was "How can I create create and use a custom template for custom post types in the Genesis theme framework?") I'm using the Genesis theme framework, with an ...
2
votes
2answers
270 views

Adding a search form inside a div

I wanted to add a search form inside a div using the code bellow: printf( '<div class="entry"><p>%s</p>%s</div>', apply_filters( 'genesis_noposts_text', __( 'Try again below.',...
2
votes
2answers
85 views

How do I turn a 404 page into an automatic search with the info from the url?

All 404 implementations seem to revolve around showing related content. I think we can do one better by automatically searching for the missing post... How can this be done?
2
votes
3answers
9k views

Displaying Custom Fields on Post with Genesis Child Theme

I have tried everything to get Custom Fields to display on my posts using a Child Theme of the Genesis theme framework. I have tried to follow every tutorial I could find relating to it but still I ...
2
votes
3answers
3k views

get_post_meta not working inside loop

I was hoping for some assistance with a custom meta box that I added to my genesis child theme. The data is being saved properly, and stored properly, but when I try to echo it out using ...
2
votes
1answer
695 views

Remove Archive Headline and Archive Intro Text fields on category and tag archive pages in WordPress Admin with Genesis framework

I'm currently having a little trouble with removing the Archive Headline and Archive Intro Text fields on the category and tag archive screen in WP Admin. On the category and tag archive pages, ...
2
votes
1answer
332 views

Removing http:// from esc url() for wordpress customizer code

I've been trying to figure this out for a few days now and I've now come to the understanding I need help. I've never worked with the wordpress customizer but have been recently interested in adding ...
2
votes
1answer
350 views

Unable to show ACF's Image Custom Field properly in Genesis Framework [closed]

WP 4.7.3 with Types, Genesis Sample Theme, ACF and a few very well-known plugins, nothing special or non-standard. I know how to display custom fields from an Advanced Custom Fields Repeater Field on ...
2
votes
1answer
1k views

Pagination difficulty using custom query in genesis-based custom theme

I am creating a genesis child theme. I have a category called 'faculty' with about 60 posts in it. I am modifying the category template file so that it displays this category in a customized fashion. ...
2
votes
1answer
372 views

Wordpress Genesis Child Theme Filter divs

I'm trying to html5ize a Genesis child theme. So far I've figured out how to replace the Doctype via hook but am having trouble figuring out how i can change the divs to sections and articles without ...
2
votes
1answer
55 views

Including Custom Post Type posts in a page template contextually (or should I widget?)

Please see the attached mockup… Each element in the sidebar (e.g., Communications) will probably have to be a Page. I'm aiming for maximum flexibility. I am using Epik (a Genesis child theme). I ...
2
votes
1answer
5k views

Custom Blog Post Listing in Genesis Sample Child Theme

I want to add several images and divs and also customize the look of my Blog post listing... But i can't find the way to do it. Here's the Blog Template code <?php /* WARNING: This file is ...
2
votes
1answer
158 views

Wordpress Hide Show Content script and activate/deactivate script on screensize

I am currently using jquery.expander.js to hide/show paragraph content. I want to only use this for screen sizes less than 500px width and less (for mobile phones) ONLY. I am working in wordpress 3.5 ...
2
votes
2answers
3k views

How to keep my custom theme changes after updating genesis child theme

I am using a Genesis child theme that I would like to make some custom changes to it, but would like to be able to update it when a new version comes out without loosing my edits. I am familiar with ...
1
vote
4answers
15k views

How to add code just below opening body tag in Genesis framework

We need to add two snippets of code, one right below the opening body tag, and the other right before the closing body tag. What is the best way to do this? I checked out the wp_enqueue_script, but it ...
1
vote
1answer
1k views

Editing or filtering the output of the Genesis navigation

I'm trying to edit or apply a filter to the default Genesis navigation genesis_do_nav Currently I'm extending a Walker class to add a <span> with data-attribute around the navigation's link ...
1
vote
1answer
544 views

StudioPress: add meta tag to every page [closed]

I need to add this meta tag to every page in my site. <meta http-equiv="X-UA-Compatible" content="IE=edge"> I found this PHP function on github add_action( 'wp_head', 'wsm_keep_ie_modern' ); ...
1
vote
1answer
2k views

Adding ads after a certain number of paragraphs within Genesis themework

I am so close I can feel it. I am trying to get an ad block to show up after say 2 paragraphs. Currently I am using the following code in my functions.php to put the adblock before the last paragraph. ...
1
vote
3answers
2k views

htaccess: Remove trailing slash from URL ending with .xml/ only

I need to remove trailing slash from URLs ending with .xml/ only .. For this purpose I've created a Rewrite Condition and Rule which is working perfectly fine for the test link http://website.com/test....
1
vote
2answers
4k views

How to add specific menu on a specific page or pages

I'm looking for help on how to add specific menu on a specific page or pages with no plugin. I know how to add and register a new menu like this: //* Register third navigation menu position function ...
1
vote
1answer
58 views

Custom Fields Code not echoing whats in the value field

Hey friends: I'm trying to use wordpress custom fields that seem like would be fairly straightforward. I'm using Genesis Outreach Pro child theme This code is now located in my function.php file: //*...
1
vote
1answer
7k views

Edit/Customize the Single Page of a Genesis Sample Child Theme

I got my 'Page' and 'Blog List' Page working.. But when i click on one of my Post... the Layout is different .. I want to edit it. Where can i find that? I tried to edit it.. <?php /* WARNING: ...
1
vote
1answer
131 views

Log in link not showing, Comment Issue

We want user to register and then comment. So we, Checked the option of "Anyone can register" as true. Checked the option of "Users must be registered and logged in to comment" as true. Now, the ...
1
vote
2answers
5k views

Show featured image next to post-teasers in Genesis Framework?

I want my posts to have a featured-image thumbnail beside it, how do I do this?
1
vote
1answer
864 views

Genesis menu position change

Sorry for silly question, I'm pretty new in WordPress and Genesis. I want to move Genesis menu above header. How can I do that?
1
vote
1answer
526 views

PHP loop that selects posts with a particular in-post option

Im trying to build a Featured post slider to show any post that i mark as a "featured" (with a in-post option) regardless the category or tag type... Im new to wordpress and although I understand a ...
1
vote
1answer
5k views

Uncaught TypeError: Cannot read property 'replace' of undefined

I have used this jquery script on many of my sites with the same theme, settings, etc. It's in a wordpress Genesis Child theme. On my current local build, however, when I click on an a href that has ...
1
vote
1answer
219 views

Wordpress Genesis custom taxonomy archive shows 3 repeats of each post

I am using a child theme on genesis. I have set up a custom post type and a custom taxonomy, and I'm using Advanced Custom Fields to put a gallery on each page of the CPT. On the taxonomy archive ...
1
vote
1answer
38 views

Is it possible to roll back to a previous customization of Genesis?

Excuse my ignorant question, but couldn't find anything about this anywhere. I did some changes on a Genesis based site. The site was set to display last posts (rather than static page) and I used ...
1
vote
1answer
156 views

Custom Post Type Loop throws 500 error when used in widget

I'm trying to add a custom post type custom loop in a widget. Everything here worked correctly until I added the loop to the our_team_section_after() function. I can't find any syntax errors, ...
1
vote
1answer
3k views

Genesis: How to add content after aside and before the content-sidebar wrap

Fail #1: The hook, genesis_after_content, allows me to add content directly after the <main> tag and before the <aside> tag. So in a content first, sidebar second configuration, it would ...
1
vote
1answer
975 views

WordPress Genesis not excluding category from blog

I am trying to exclude a category from my blog. I login to WP and go to Genesis and Theme Settings and add the category IDs to the Blog Page Template area and hit save. Nothing happens. I have also ...
1
vote
2answers
2k views

Select full Image Size on widget “Genesis - Featured Posts”

I'm writing a child theme for Genesis and trying to figure out to get the full image sizes on "Genesis - Featured Posts" widget. The widget has a check box "Show Featured Image" and "Image Size" ...
1
vote
4answers
3k views

How can I eliminate the inline styles included by default with the Genesis framewrok?

I have created a child theme in the Genesis framework. I have created all of my style rules, however, in the markup, Genesis adds a few inline rules by default that I would like to eliminate. The ...
1
vote
1answer
227 views

Back to the basics: What's so great about a framework?

I'm brand new here and I'd like to start off by asking about WP frameworks. I've seen quite a bit out there, so I'm confused about what to choose for my site. So here are a few questions: What is ...
1
vote
1answer
516 views

How to change the layout of a product page

I'm using WP-ECommerce with the genesis framework. I can set the layout of the Products page to single column, but when I select a single product it uses the default layout and not the products ...
1
vote
0answers
27 views

WP - Genesis - How to get the content of a widget in php? [closed]

Provided I have a widget area that I register in genesis like this: genesis_register_sidebar( array( 'id' => 'my_header', 'name' => __( 'Image Header', 'my_header' ), '...
1
vote
1answer
118 views

Adding function to Genesis genesis_header [closed]

I am using a modified version of the Sample Genesis starter child theme by Sridhar Katakam (https://github.com/srikat/genesis-sample). I am trying to add a simple div by adding a function in the ...
1
vote
0answers
133 views

Display child pages on parent page: 404 message overrules shortcode in page

I am trying to get a page to show a list of the child pages. I am using the Foodie Pro theme on the Genesis framework. I am using the following code to do so: add_filter('the_excerpt', 'do_shortcode'...
1
vote
0answers
182 views

Portfolio-template won't show items

I have a archive-portfolio.php-file which works fine when visiting the archieve (siteurl.com/portfolio). I then copied the very same code and saved it as a template-file, which I later on selected for ...
1
vote
0answers
233 views

Move Archive Title to Entry Title - Genesis

I’m using the centric child of genesis theme where I’ve created a custom post type portfolio and and created a portfolio archive page to show up my portfolio. Now when I added “Archive Headline”, it ...
1
vote
0answers
789 views

Posting comment returns 404

I've been tracking an issue in one of our WP installations and keep coming up short of a solution. One of our websites is installed in a sub-directory of our main website. Both are WP installations. ...