Single page GYM wordpress website with blog post & photo gallery for $25

Single page GYM wordpress website with blog post & photo gallery


Have a good day

I know, you’re want to build a GYM/Fitness Trainer Portfolio or an online store website.
So, I am here to help you to bring what you want according to your requirements.


  • Amazing unique style layout
  • Responsive design for every device
  • Modern photo gallery
  • Blog post section
  • Also, if you want to set up an online store then I will do it.
  • And according to your requirements

Don’t hesitate to contact me for consultation and about ordering my services.


Using The Browser’s Refresh/Reload Button On A Single-Page App

I’ve implemented a single-page website via a header (incl. nav), a footer and main divided into 5 article elements where each article carries the content of the home, about, services, prices and contact page-views.

The site opens on the home page-view because the index.html file has the home article displayed but the other article elements hidden.
Clicking another link in the nav bar causes a script to run that hides the home page and unhides the selected page; as well as putting an indicator (e.g. an underlining) on the current page link on the nav bar.

I maintain page history by creating a JS state object (basically 2 string parameters for the current nav bar link and the currently displayed article ids) and using this to recreate the previous page-view when the <- back button is clicked.

document.title = + " | " + newpage;  // newpage = "About" / "Services" / "Prices" / "Contact"
stateObject = { "currlinkid": newlinkid,
                "currpageid": newpageid };
history = window.history;
history.pushState(stateObject, title);

All works fine going back and forward.

My problem lies with simulating a page refresh/reload via the browser’s 🗘 button.
Originally I made .html copies of the various page-views and put them alongside the index.html file in the server’s root folder. I appended a relative URL string to the state object for the page view so that I now am pushing state-creation detail, a title and a relative URL onto the history stack, i.e.

history.pushState(stateObject, title, relurl);

This ensures that when I click on any given nav bar link, it changes to the appropriate page-view and also puts the respective URL upon the address bar.

Now when I click on the 🗘 button it does appear to reload that page but it replaces the current URL with that of the home page. To be sure that the actual server page is loaded rather than a recreation of that page-state from the cache or some other way, I put a marker entry into the server .html pages, e.g. about.html has

<meta name="page-source" content="off-server-about"/>

whereas the home page which comes from the index.html file has the meta

<meta name="page-source" content="off-index"/>

Now after uploading the new source files and scripts and clearing old history from the browser, I navigate to my site’s home page. It loads the index.html file and puts on the address bar. On changing to other page-views via the nav bar I get the correct page-state, the correct URL shown on the address bar and the page source shows it to have

<meta name="page-source" content="off-index"/>

All correct so far.

But when I refresh via 🗘 I get the page-view reloaded from its mirror on the server with the correct meta tag but it is the index.html URL that is showing on the address bar . . .
So that a second refreshing will now produce the home page-view rather than the original page-view.

Can anyone suggest a way to retain the original URL when the refresh process is applied ?

Custom single-page publication that returns a 404 error when sharing the file URL with a custom taxonomy

I currently have a problem with my only types of custom posts that return an error 404. What puzzles me is that I set it exactly the same for another type of custom post and it works perfectly. Although it was a few hours of trial and error and searching the forum posts to achieve this for my other type of personalized post, so I'm not sure if there was anything else that has been done that has now been deleted, but still well helped set up is correct?

What I am trying to achieve is this permanent link structure so that my type of personalized publication is

  • & # 39; news-media & # 39; – archive page
  • & # 39; news-media / custom-taxonomy & # 39; – taxonomy file page
  • & # 39; news-media / custom-taxonomy / name-of-post & # 39; – single publication page

I previously had this set as

  • & # 39; news-media & # 39; – archive page (which is correct)
  • & # 39; news-media / custom-taxonomy & # 39; – taxonomy file page (which is correct)
  • & # 39; news-media-article / name-of-post & # 39; – single post page (this is incorrect)

Here is my code:

add_action( 'init', 'canvas_cpt_init' );

function canvas_cpt_init() {
    $labels = array(
        'name'               => _x( 'News Media', 'post type general name', 'canvas' ),
        'singular_name'      => _x( 'News Media', 'post type singular name', 'canvas' ),
        'menu_name'          => _x( 'News & Media', 'admin menu', 'canvas' ),
        'name_admin_bar'     => _x( 'News & Media', 'add new on admin bar', 'canvas' ),
        'add_new'            => _x( 'Add New', 'News Media', 'canvas' ),
        'add_new_item'       => __( 'Add New News Media', 'canvas' ),
        'new_item'           => __( 'New News Media', 'canvas' ),
        'edit_item'          => __( 'Edit News Media', 'canvas' ),
        'view_item'          => __( 'View News Media', 'canvas' ),
        'all_items'          => __( 'All News & Media', 'canvas' ),
        'search_items'       => __( 'Search News & Media', 'canvas' ),
        'parent_item_colon'  => __( 'Parent News Media:', 'canvas' ),
        'not_found'          => __( 'No News & Media found.', 'canvas' ),
        'not_found_in_trash' => __( 'No News & Media found in Trash.', 'canvas' )

    $args = array(
        'labels'             => $labels,
        'public'             => true,
        'publicly_queryable' => true,
        'show_ui'            => true,
        'show_in_menu'       => true,
        'query_var'          => true,
        'rewrite'            => array( 'slug' => 'news-media/%mediacat%', 'with_front' => false ),
        'capability_type'    => 'post',
        'has_archive'        => 'news-media',
        'hierarchical'       => true,
        'menu_position'      => null,
        'supports'           => array( 'title', 'editor', 'author','thumbnail')

    register_post_type( 'newsmedia', $args );

    $labels = array(
        'name'              => __('Categories','canvas'),
        'singular_name'     => __('Category','canvas'),
        'search_items'      => __('Search Categories','canvas'),
        'all_items'         => __( 'All Categories', 'canvas' ),
        'edit_item'         => __( 'Edit Category', 'canvas' ),
        'update_item'       => __( 'Update Category', 'canvas' ),
        'add_new_item'      => __( 'Add New Category', 'canvas' ),
        'new_item_name'     => __( 'New Category Name', 'canvas' ),
        'menu_name'         => __( 'News Category', 'canvas' ),

    $args = array(
        'hierarchical'      => true,
        'labels'            => $labels,
        'show_ui'           => true,
        'show_admin_column' => true,
        'query_var'         => true,
        'public'            => true,
        'has_archive'       => true,
        'rewrite'           => array( 'with_front' => false, 'slug' => 'news-media' ),
    register_taxonomy( 'news-media', array( 'newsmedia' ), $args );

function wpa_show_permalinks_media( $post_link, $post ){
    if ( is_object( $post ) && $post->post_type == 'newsmedia' ){
            $terms = wp_get_object_terms( $post->ID, 'news-media' );
            if( $terms ){
                    return str_replace( '%mediacat%' , $terms(0)->slug , $post_link );
    return $post_link;
add_filter( 'post_type_link', 'wpa_show_permalinks_media', 10, 2 );

I should also mention that I have re-saved the permanent links in the administration panel. (On numerous occasions) and still receive a 404 error.
I have also tried to exchange the & # 39; has_archive & # 39; of true, false and & # 39; news-media & # 39; for both, register_post_type and register_taxonomy.

user behavior – mobile integration – single-page instructions instead of multiple paging

I am creating a mobile application where the user needs to copy the link from a different application and just open it. My application detects the link when the user opens the application and then continues using it. The steps necessary to complete the task are simple:

  1. Press the Share button in the other application (the user is familiar
    With this application, there is a context for the action).
  2. Click on Copy Link
  3. Open my application

Because the task is very short, I wanted it to be as easy as possible. Two options came to my mind:

  • Single page with list of actions.
  • Three pages each page an action (the user swipes to change)

enter the description of the image here

What you think? Is there an advantage to divide them if the task is short? Thanks for your time.


The name of the single-page template file is not displayed.php

I am using the name of the template file in the section to load
Corresponding CSS files. For static-page.php I'm loading
static-page.css, similarly for single-post.php I would like to load
single-post.css Like I said, it works fine on my static pages, but
returns zero on a single blog post page.

This is not really the right way to do this. To begin with, you should not put anything in directly. Instead, you must "queue" the styles of your feature file, as described in the Theme Developer's Guide.

When you do it this way, you can use the Conditional Labels to determine what is currently being viewed and queue the appropriate styles.

For example, if you want to load styles only for individual publications, you would use is_singular (& # 39; post & # 39;)., while for custom page templates you would use is_page_template (& # 39; static-page.php & # 39;);.

Apparently, e-commerce uses frames of single-page applications as multi-page applications.

When I see e-commerces in my country, I see page reloads that lead me to think that they use MPA and do not use frontend frames. I spoke with some co-workers and they told me that they actually use SPA frames, but they use some technique that SPA websites behave like traditional MVC. Therefore, they can benefit from the modularity of frontend frames and not lose SEO. If that is the case, what technologies could be used with Angular to process the behavior of AMP?

sequence – Workflow solutions for single-page applications

I have the task of creating a single-page application (using one of the modern front-end libraries / frameworks) that will require the presence of a workflow. The application will be a very basic HTML form that, when sent, should activate a corresponding workflow:

The user fills in the form fields and sends the form.
Backend (WF)
Notify interested parties about a new application.
Set states (for example, pending approval)
Notify order about decisions.
Update states (for example, Approved / Rejected / Closed)

I already have experience in the development of this type of tools, however, all the tools are based on SharePoint (injected scripts, backed by features outside the SharePoint box).

Could you help me, please, to discover how you can develop this type of tools without using SharePoint?

NOTE: Our back-end stack is ASP.NET MVC (C #)

How to use LinkedIn pixel event tracking in a single-page application.

How can I use the LinkedIn pixel in a specific event in the Angular 5 application?
I got this fucking code from our SEO team:

And it must be executed when a user completes the registration. How can I fire it from the code when the HTTP call resolves? Facebook as better documentation.

single-page application – SPA website, would it be worth doing a version only for HTML for SEO?

I did a SPA Vue.js, and since it could affect SEO (especially since a large part of my client base is not using Google), I thought: why not provide a version only for html?

Would there be any real benefit or search engines in general (apart from the important and well-funded search engines like google) already have enough capacity to run javascript? I'm thinking that an HTML version focused on the content would be more SEO friendly. But since I have not found any tool that does it or any blog post that mentions it, it may not be a good idea.

Note: in my case, making a version like that would not be a big effort (it would even be quite easy actually)