Mooo1
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Enigma] Add a video or pictures to front page?I think I figured this one out on my own, so I will mark this resolved and write out what I did.
Add this code:
get_template_part('post','page');
into front-page.php where you want your page to show up(if you want your static page to be under the blog posts, place the this code underget_template_part('home','blog');and see if it works. Seems to be working for me.I believe this code corresponds to the page you select under static page.
You can put whatever you want on the page(videos, pictures, text) and it should show up. Then you go into reading – static page and choose the page you want to use.
Forum: Themes and Templates
In reply to: [Enigma] Replace home blog with static page possible?Try adding this code into front-page.php where you want your page to show up and see if it works. Seems to be working for me:
get_template_part('post','page');I believe this code corresponds to the page you select under static page.
Forum: Themes and Templates
In reply to: [Enigma] Home page textOk! After playing around with things some more, I found a way to add pages to the front page. Simply use this code:
get_template_part('post','page');And place it into front-page.php where you would like this page to be displayed(for example under
get_template_part('home','blog');if you want to display a page under the blog posts. Then you can go into reading – choose static page choose a page of your choice. Then the content on that page should be displayed where you placed your code.My earlier idea is not practical because this will place a widget on every single page, not just the front page as it is attached to the header.
Forum: Themes and Templates
In reply to: [Enigma] Home page text@karlc: I have found one method of doing this. The way I did it was by creating a widget area. Follow the instructions outlined in this post:
http://wpgyan.com/how-to-create-a-widget-area-in-wordpress-theme/
I took the second part of the code,
`<?php if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘header_sidebar’) ) :
endif; ?>`and placed it under all the code in header.php. Then I simply added a text widget into this new widget, which allowed me to add text(or anything you want, really) However, I have only figured out how to add this to the header. Ideally, for me and probably for you as well you don’t want text above the slider, but I have not figured out how to place this widget anywhere else. I tried adding this code into front-page.php but it broke the whole page, so don’t do that. This might not be the best way to do it, but it seems to work. Maybe you or someone else can figure out how to place this widget somewhere else on the page. If so, I would love to know how to do that! Hope this helps.
Forum: Themes and Templates
In reply to: [Customizr] Slider disappearing after updateLooks like you were correct, it is indeed a plugin conflict. It is a conflict with the plugin called Huge IT Gallery. I can always find another plugin to display an image gallery if there isn’t a simple fix for this one.
Forum: Themes and Templates
In reply to: [Customizr] Conflicts with Users UltraWould it be possible for the theme author to take a look at the site if I provide him with admin credentials?
Excellent, thank you for your help!
Hello Mooo1. You will find that this issue may be resolved with a plugin called Join My Multisite, linked here:
https://wordpress.org/support/plugin/join-my-multisite
Network enable this plugin in your super admin dashboard and then set membership to “automatic” in each of your multisites.
Forum: Themes and Templates
In reply to: [Customizr] How to customize meta tags under a post?@electricfeet, you are the best! Your second code worked just as I wanted it to. I simply replaced “xxx” and “yyy” with “user_submit_name” and “user_submit_url”. Thank you very much for your assistance. I will mark this topic as resolved.
Forum: Themes and Templates
In reply to: [Customizr] How to customize meta tags under a post?ElectricFeet you are correct. I am referring to the post meta data that appears under a post such as: “Posted by Larry on September 5th, 2014 Categories:…. Tags:….” etc. In this example, when Larry writes a post he also submits his website, http://www.larrysblog.com. The url he submits goes into the custom field “user_submit_url”. What I want to achieve is this: “Posted by Larry on September 5th, 2014 Categories:…. Tags:….”. So you click on the name and it goes to his website. Does that make sense?