As of May 31, 2023, we have updated our Code of Conduct.

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
13 votes
2 answers
135k 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 ...
NFdesign's user avatar
  • 135
8 votes
2 answers
10k 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 ...
James Mitch's user avatar
7 votes
3 answers
2k 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 ...
Bryan Willis's user avatar
  • 4,289
5 votes
1 answer
2k 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 ...
SilverLink's user avatar
4 votes
5 answers
19k 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 ...
linnse's user avatar
  • 161
3 votes
2 answers
432 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.',...
SilverLink's user avatar
3 votes
2 answers
4k 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 ...
rugbert's user avatar
  • 158
3 votes
1 answer
612 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' =>...
IFightCode's user avatar
3 votes
1 answer
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 ...
Travis Northcutt's user avatar
3 votes
3 answers
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?
Elmo's user avatar
  • 191
3 votes
4 answers
8k 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 ...
Travis Northcutt's user avatar
2 votes
1 answer
4k views

Display a default image for custom-logo

I am switching my Genesis theme over to use Wordpress' 4.5 custom-logo function. It was simple to do: add_theme_support( 'custom-logo', array( 'width' => 861, 'height' =&...
JasCav's user avatar
  • 137
2 votes
1 answer
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 ...
NW Tech's user avatar
  • 715
2 votes
1 answer
1k 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' ); ...
A.PSI's user avatar
  • 23
2 votes
2 answers
7k 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 ...
Konstantin Nikkari's user avatar
2 votes
2 answers
101 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?
rothschild86's user avatar
2 votes
3 answers
4k 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....
Hassan Alvi's user avatar
2 votes
3 answers
10k 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 ...
Ciarán's user avatar
  • 51
2 votes
3 answers
4k 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 ...
gteh's user avatar
  • 286
2 votes
3 answers
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 ...
Radi's user avatar
  • 249
2 votes
1 answer
1k 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, ...
Melinda's user avatar
  • 21
2 votes
1 answer
794 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 ...
kia4567's user avatar
  • 225
2 votes
1 answer
8k 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: ...
Jeremi Liwanag's user avatar
2 votes
1 answer
205 views

Second nav is merged with the first in mobile

When I load the website (https://notes.goncaloperes.com) on mobile one can see the two menus/navigations that exist However, when it loads, the two navs are merged and the second menu buttons can ...
Gonçalo Peres's user avatar
2 votes
1 answer
574 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 ...
Karls's user avatar
  • 39
2 votes
1 answer
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. ...
vlasits's user avatar
  • 135
2 votes
1 answer
388 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 ...
Peter Gibbons's user avatar
2 votes
1 answer
61 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 ...
Lorin Rivers's user avatar
2 votes
1 answer
6k 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 ...
Jeremi Liwanag's user avatar
2 votes
1 answer
173 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 ...
devon's user avatar
  • 41
1 vote
2 answers
3k views

How to modify a title tag in genesis?

I need to modify the outputted <title></title> tag of a few specific templates, and it has to be done in php so I can dynamically generate content for it. I've been playing around with ...
ExcellentSP's user avatar
1 vote
1 answer
3k 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. ...
Matthew Snider's user avatar
1 vote
1 answer
86 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: //*...
wildwebwest's user avatar
1 vote
1 answer
137 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 ...
vajrasar's user avatar
  • 169
1 vote
2 answers
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?
Sun's user avatar
  • 11
1 vote
1 answer
892 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?
Todd Lambb's user avatar
1 vote
1 answer
535 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 ...
웃mauri's user avatar
  • 439
1 vote
1 answer
22k 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 ...
Katie R.'s user avatar
1 vote
1 answer
601 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 ...
apol's user avatar
  • 13
1 vote
1 answer
166 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 ...
Rick Alvarez's user avatar
1 vote
1 answer
612 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, ...
J Robz's user avatar
  • 175
1 vote
2 answers
5k 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 ...
ExcellentSP's user avatar
1 vote
1 answer
2k views

add_action and remove_action if custom field exists

I know this may be off-topic as it has to do with Genesis (a premium framework), but with general WordPress, this has to do with running a remove_action and an add_action depending on if a custom ...
markratledge's user avatar
  • 8,548
1 vote
2 answers
1k views

Problem with WordPress query on page using custom fields

I have a website with the custom post type sammenligne, along with some custom fields made using Advanced Custom Fields (ACF). I have modified an archive site (archive-sammenligne.php) which displays ...
Even T's user avatar
  • 11
1 vote
1 answer
1k 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 ...
MeltingDog's user avatar
1 vote
1 answer
677 views

Exclude a category from the filed under list

I have a site where I have a category that I'm using for some backend functionality. However, when I'm viewing a post that is in that category and other categories, I don't want to see that category ...
Jason Lawton's user avatar
1 vote
2 answers
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" ...
AnupRaj's user avatar
  • 196
1 vote
1 answer
233 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 ...
Ray's user avatar
  • 113
1 vote
1 answer
528 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 ...
Ralph Shillington's user avatar
1 vote
0 answers
261 views

How to disable inline css styles generated by Gutenberg editor?

I've got Genesis-blocks plugin installed (it got updated from Atomic blocks). I am using blocks and resuable blocks to create pages. The problem I am facing is, most of these blocks inject their own ...
user31782's user avatar
  • 121