wordpress-theming

Hyperlinks A HREF do not work

左心房为你撑大大i 提交于 2020-01-02 08:59:34
问题 I'm a bit fooling around with a new website idea. But when i was testing it the A HREF does not work. It's not even showing a finger/hand pointer. It's the text at the content area (the first white block under the header, but not the menu ). The headers should be links to the posts (Wordpress). screenshot of the links that do not work (red arrows): http://new.go80.nl/screenshots/brokenlinksscreen.png Actually all the links in that area do not work. And at the Contact page not even the google

Hyperlinks A HREF do not work

烂漫一生 提交于 2020-01-02 08:59:09
问题 I'm a bit fooling around with a new website idea. But when i was testing it the A HREF does not work. It's not even showing a finger/hand pointer. It's the text at the content area (the first white block under the header, but not the menu ). The headers should be links to the posts (Wordpress). screenshot of the links that do not work (red arrows): http://new.go80.nl/screenshots/brokenlinksscreen.png Actually all the links in that area do not work. And at the Contact page not even the google

wordpress: click on Parentpage Redirect on first child page programmatically

天涯浪子 提交于 2020-01-02 08:52:51
问题 I want to redirect users on first child page. for example there is parent page: Page A it has 2 child pages: child1 and child 2 when user click on Page A that redirects user to child 1 page there are too many redirection plugins to redirect parent to child 1 that is manully set. I want this dynamically is it possible to redirect the parent page on first child page programmatically? 回答1: The following worked like a charm. (http://www.wprecipes.com/wordpress-page-template-to-redirect-to-first

Adding jquery and custom scripts to a Wordpress theme

痞子三分冷 提交于 2020-01-02 05:29:25
问题 Doing some searching through Google, I came across the same bit of code over and over for adding jQuery to a from-scratch Wordpress theme. if (!is_admin()) add_action("wp_enqueue_scripts", "my_jquery_enqueue", 11); function my_jquery_enqueue() { wp_deregister_script('jquery'); wp_register_script('jquery', "http" . ($_SERVER['SERVER_PORT'] == 443 ? "s" : "") . "://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js", false, null); wp_enqueue_script('jquery'); wp_enqueue_script('my_script'

How to display the featured image of a page in the page itself automatically in WordPress? [closed]

雨燕双飞 提交于 2020-01-02 05:22:04
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . Please i need your help with the following. The features images that i am setting for my pages are not getting displayed in the pages themselves. Is there any plugin or something i can do in order to let those featured images that i am setting for posts and pages to get displayed inside the corresponding entry?

How to display the featured image of a page in the page itself automatically in WordPress? [closed]

倖福魔咒の 提交于 2020-01-02 05:22:01
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . Please i need your help with the following. The features images that i am setting for my pages are not getting displayed in the pages themselves. Is there any plugin or something i can do in order to let those featured images that i am setting for posts and pages to get displayed inside the corresponding entry?

Wordpress Authenticate Filter

和自甴很熟 提交于 2020-01-01 17:37:34
问题 I'm currently trying to override Wordpress' wp_authenticate function (without modifying the core files, mainly pluggable.php), however I'm not sure if I'm going about it the correct way. There are two great references (see below), but they don't explicitly state what to do in order to prevent the login provided certain criteria are met. In short, I'm trying to prevent registered users who have not activated their account. I've already implemented creating a user with a md5 unique id in the

Wordpress dynamic sidebar without title

百般思念 提交于 2020-01-01 08:06:27
问题 I'd like to pull in a dynamic sidebar. I have 1 text item in the widget sidebar but I DON't want to pull in widget the title (just the body). Can anyone show me where WordPress is pulling in the Title? e.g. At the moment I have... // In my page template... <div id='advert-header'> <?php dynamic_sidebar( 'Header Advert' ); ?> </div> // In functions.php... function twentyten_widgets_init() { register_sidebar( array( 'name' => __( 'Header Advert', 'twentyten' ), 'id' => 'primary-widget-area',

Wordpress Nav Walker - Multilevel navigation

六月ゝ 毕业季﹏ 提交于 2020-01-01 06:03:09
问题 I need help with navigation in Wordpress site. I'm trying to get Wordpress print my navigation in this format: <ul data-menu="main" class="menu__level"> <li class="menu__item"><a class="menu__link" data-submenu="submenu-1" href="#">Vegetables</a></li> <li class="menu__item"><a class="menu__link" data-submenu="submenu-2" href="#">Fruits</a></li> <li class="menu__item"><a class="menu__link" data-submenu="submenu-3" href="#">Grains</a></li> <li class="menu__item"><a class="menu__link" data

How do I fix a wordpress custom theme to work with plugins?

你离开我真会死。 提交于 2020-01-01 05:21:05
问题 This is my first attempt at coding a custom wordpress theme and I'm almost there. There are a few bugs as there are with anything, but I've tried a few different options at fixing them but with no success. The link is www.studiosimplicit.com/wp. My first issue is with nivo slider on the events page (Www.studiosimplicit.com/wp/events). Initially I was having an issue with the plugin itself, where the images were being stacked on top of each other. To correct this I manually put in code to call