Forum Replies Created

Viewing 8 replies - 136 through 143 (of 143 total)
  • Hi,

    If you open your page in the frontend and view its source code in your browser, you will see that you have two <title> tags. Also the title appears twice itself. Something is causing this duplication, and if it is not any of your plugins, then it is a piece of code in your theme (unless you’ve modified your core WP code).

    The tc_head_display() function is the function in the theme that takes care of displaying the <head> section, which contains the duplicate title. If this is not caused by a plugin, then you should start from there, tracing what hooks to the tc_head_display filter and creates this duplication.

    In order to investigate in-depth, you’ll need some developer skills. I’d gladly aid you, but I’d need access to your codebase in order to trace the issue.

    Also, I’ve tried activating this Customizr theme locally, and the issue does not occur at my side. So I can recommend that you update the theme to its latest version – perhaps this will solve the issue. Please, note that this would erase any modifications that you’ve done on the theme files.

    I believe I’ve explained everything necessary in my first reply above, feel free to read it and play with the WP administration as I explained.

    I’m just trying to help, but you’re not helping me with understanding what you need done. I still don’t understand what you want to achieve.

    Do you mean that you want in the main menu to list your “posts” instead of your “pages? Can you please clarify what results exactly do you want to achieve?

    It appears that there is custom code (either in your theme or in a plugin) that duplicates the result of wp_title(). This can be done by using the wp_title() filter. So, you should look for occurences ofwp_title` in your plugins and the active theme (Customizr as far as I noticed). Then, one of the results will be responsible for the duplication.

    Also, you might want to check your tc_head_display() function and search for the tc_head_display filter for the reason (this function is responsible for displaying the <head> section), as it appears that you have two <title> tags, so there should be some custom code that causes this.

    First, it is easy to notice that you’ve created some Pages and some Posts. The pages appear in the top menu, while the posts appear in the sidebar widget “Recent Posts”.

    I’ve noticed that you’re using the Online Marketer theme, and you have no primary menu specified. This theme displays all published pages in case there is no menu specified. So if you want to disable this behavior, you have to create and assign a menu.

    To do that, go to Appearance -> Menus and create a new menu. Then insert your preferred menu items in it. Then below the menu items, enable the “Primary Menu” checkbox. Save the menu to record all settings. After doing this, this menu and the selected items will be displayed in the header, instead of the auto-generated list of all pages.

    If you need help with creating a menu, inserting menu items or help with the menu configuration you can refer to: https://codex.www.ads-software.com/WordPress_Menu_User_Guide

    What you are seeing is the single attachment page template. It is default for WordPress and there is nothing you should worry about.

    Basically, each media that you upload through the Media section in the administration will have its own attachment page (like the one you provided).

    In case you want to disable these, you can create a new file in your theme, called attachment.php and insert the following code in it:

    global $post;
    if ( $post->post_parent ) {
    	$redirect_url = get_permalink( $post->post_parent );
    } else {
    	$redirect_url = home_url('/');
    }
    
    wp_redirect( $redirect_url, 301 ) );
    exit;

    It appears you have to apply some CSS to achieve the desired effect.

    The following CSS should do most of it:

    header#masthead .hgroup #header-sidebar { position: static; clear: both; display: block; }
    header#masthead .hgroup #header-sidebar aside.widget.widget_text { clear: both; }

    You might also want to apply some margins / paddings to your widgets to place them exactly where you want.

    Same issue here, tested both with Twenty Thirteen and TwentyTwelve. Also, i’m not sure if that’s related, but i’ve discovered another issue.

    When I open the following link: /events/2013-07-25/, i get a 404 not found issue, and a “Events for July 31, 2013” title. First, i have an event added for 25th of july, and second – i’m searching for 25th of july, not 31st of july.

Viewing 8 replies - 136 through 143 (of 143 total)